Click here to Skip to main content
15,885,905 members
Please Sign up or sign in to vote.
2.67/5 (2 votes)
See more:
Hi All,

My Requirement is to add some space between two list items of drowdownlist in asp.net.

How it can be done with CSS ?

Tnks in advance.

Regards
Sandeep M
Posted
Comments
Sergey Alexandrovich Kryukov 21-Aug-13 14:19pm    
What do you mean how? by looking at CSS and thinking what can you use. http://www.whathaveyoutried.com?
—SA

All about spacing and related aspects can be found here: http://www.w3.org/TR/CSS2/box.html[^].

—SA
 
Share this answer
 
Hi,


Thanks for your reply.

But it is not my requirement.

my asp.net code is

XML
<asp:DropDownList runat="server" ID="ddlTest">
                      <asp:ListItem Text="text1" />
                      <asp:ListItem Text="text2" />
                  </asp:DropDownList>


please suggest another solution for css.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900