IE 7 not displaying ASP.NET properly

Is it just me or does IE7 not properly display controls done in ASP.NET 2.0?

I have a dropdownlist (ddlNav) on my web form. On the page_load I do this:

ddlNav.BorderStyle = BorderStyle.Solid
ddlNav.BorderColor = Drawing.Color.Black
ddlNav.BackColor = Drawing.Color.WhiteSmoke
ddlNav.ForeColor = Drawing.Color.Navy

The ForeColor and BackColor work, but anything having to do with the Border
does not! However, Firefox displays it properly.

Is there a fix or workaround to this?

Styles also do not work when it comes to changing the border. I'm trying to
avoid the inset look.

TIA,
Jim
Jim in Arizona [ Di, 15 April 2008 23:32 ] [ ID #1942652 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » IE 7 not displaying ASP.NET properly

Vorheriges Thema: How to add localized listitems to a dropdownlist ?
Nächstes Thema: GC.Collect() not cleaning memory, how to find out what references to lots of memory still exist?