IE 7 not displaying ASP.NET properly

IE 7 not displaying ASP.NET properly

am 15.04.2008 23:32:48 von Jim in Arizona

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