I am facing an issue with aligning the text in my .net dropdownlist to the right. With the help of CssClass, I have successfully aligned the text to the right in Firefox.
In IE, however, the text is aligned to the left instead of the right. It seems that IE 6 does not support this functionality.
- Is it true that IE 6 does not support text alignment to the right?
Although I am currently using IE7, most of my users are on IE 6, so it is crucial for both versions to work correctly.
<asp:DropDownList ID="ddlNomination" Width="250px" CssClass="ddlnomination"
runat="server" DataSourceID="Azoa" DataTextField="nomination_type"
DataValueField="nomination_type">
<asp:ListItem> </asp:ListItem>
</asp:DropDownList>
CSS
.ddlnomination
{
text-align:right;
}