OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Max-Width in IE
This page's ID:
25115
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
If this trick isn't old news for everybody then check this link: http://www.svendtofte.com/code/max_width_in_ie/ All you need for a max-width of, say, 1024px is this: [code] max-width: 1024px; width: expression(document.body.clientWidth > 1024? "1024px": "100%" );[/code] Works well in everything from EI 5 upwards and of course any browser that understands the real max-width. It's a pretty good deal really, I've used it on two sites since I came across the page a few weeks back and there aren't any complaints so far ;) kuckus
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »