Created
June 18, 2012 21:34
-
-
Save robertcedwards/2950871 to your computer and use it in GitHub Desktop.
Borrowed from:http://codesnippets.joyent.com/posts/show/963 AGAIN another IE fix. IE of course does not recognize the max-width CSS property. This piece of code will fix it for IE6 and IE7. This code snip will make the maximum width for the html object 90
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.cssClass | |
{ | |
width:expression(document.body.clientWidth > 900? "900px": "auto" ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment