[thelist] CSS - Div height and relativity

Kevin W null at tsn.cc
Fri Dec 20 00:00:01 CST 2002


On Tuesday, Tony Crockford wrote:
> I was using height:600px on the content div to ensure that short pages
> didn't have a "high" footer and then I discovered that (on long pages)
> Opera put the footer at 600px regardless and the extra content of the
> div ran over the footer. (whereas IE just extended the content div)

At a guess, you could probably use a hack to hide the min-height from IE:

div {
	height: 600px;
}
html>body div {
	height: auto;
	min-height: 600px;
}

--
Kevin W :-)



More information about the thelist mailing list