Hi
How can I set my dropdownlist Itmes alignement right rether than left?
I bound them from a database??
my code
<asp:DropDownList width="100%" Runat="Server" ID="ddlCollege" DataTextField="CollegeName" Style="text-align: center;" DataValueField="CollegeID" Autopostback="True" OnSelectedIndexChanged="ShowDepartmentsEvents"/>
on the behind code I select values from the database??
Can Someone help??
thanks in advance
Setting style="text-align:right" on the dropdown list will work in Firefox, but I don't think there is any way to do this on Internet Explorer 6.
regards
I'm afraid you cannot do that unless you create you own dropdownlist :(
Hope my suggestion helps.
0 comments:
Post a Comment