Does anybody have a way to make a minimum width work for IE6 in strict xhtml? Right now I just have a min-width set for the body of my site, and it works great in FF and safari. In IE6 (I can't remember if it does the same thing in IE7), no min-width works, so the horizontal tabs don't stay inline when the page gets smaller, and that looks horrible (and makes me sick). Please help!
new2css
8:51 pm on Jan 5, 2008 (gmt 0)
Nevermind... I decided to bite the bullet and use the Javascript width:expression "* html" hack. It works very well, but now my CSS style sheet does not validate. If anyone has a valid way to do min-width in IE, please post.
penders
12:25 pm on Jan 6, 2008 (gmt 0)
Does 'width' behave like min-width in IE6? In the same way 'height' behaves like min-height (in IE6). (?)
If so, then in strict mode you could set:
* html #container { width:NNpx; }
But you seem to be using expression() to do this, so may be not?!
SuzyUK
1:50 pm on Jan 6, 2008 (gmt 0)
For a valid way, put the expression (and any other IE6 workarounds) in a separate IE stylesheet and call that CSS via a Condtional Comment [webmasterworld.com] directed at IE6 and below