Page 1 of 1

min-width in IE

Posted: Thu Oct 26, 2006 6:15 pm
by Luke
alright... this is the hack I have found for min-width in IE

Code: Select all

#container{
	width: 770px;
	background-color: #999;
}
html>body #container{
	min-width: 770px;
	width: auto;
}
but it doesn't seem to work... it works fine in Firefox of course... but in IE, it just acts like the width is the width... I put content in the div and it still is just 770px ??

Posted: Thu Oct 26, 2006 6:55 pm
by Luke
:D :D :D I found one that works how it's supposed to FINALLY! I've been looking for this for days!

http://www.cssplay.co.uk/boxes/width2.html