HOME

Share

How to fix the width of asp dropdownlist in Mozilla/Firefox?

Discussion about Style Sheets

How to fix the width of asp dropdownlist in Mozilla/Firefox?

Postby David on Wed Aug 27, 2008 10:31 am

How to fix the width of asp dropdownlist ?
How to fix the width of asp dropdownlist in Mozilla/Firefox and IE, Internet explorer?

.TextddlStyle
{
font-family: Courier New;
background-color: White;
height: 18px;
font-size: 8pt;
width:125px;
table-layout:fixed;
}

----------------------------
set width property in aspx page to display the width of ddl correctly in Internet explorer, IE

<asp:dropdownlist id="ddl" runat="server" Width="200px" CssClass="TextddlStyle"></asp:dropdownlist>
David
 
Posts: 114
Joined: Mon Jul 14, 2008 12:07 pm

Return to Style Sheet

Who is online

Users browsing this forum: No registered users and 1 guest

cron