Jump to content

Set a specific width for IE6


elementalgrace

Recommended Posts

Is there any way to set a width for an element, but specifically set it to be a different width if you're looking at it in IE6?I have a problem that I'm trying to fix for a friend as he was given some non standards compliant code. I now have it working fine for Firefox, IE7, Opera and Netscape but this one page won't work for IE6. It will work for IE6 if I change the width but then it knocks the background out in Firefox, IE7, Opera and Netscape.The site is developed in asp.net if that helps

Link to comment
Share on other sites

.className{  width: 500px;  -width:520px;  /*only IE sees this*/}

OK, maybe you can explain this to me or point me to a link that explains it. I've started to notice things like -width and _margin lately. What's going on there?
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...