PDA

View Full Version : body owerflow:scrol; IE


BubikolRamios
11-09-2007, 02:55 PM
open this in IE (7.0), does not make any sence, at least to me. Comments welcome.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<style type="text/css">
.body
{
overflow:scroll;
}
</style>


</head>
<body class = 'body' >

</body>
</html>

abduraooft
11-09-2007, 02:57 PM
There is no need to put a class attribute for body since we can't use more than one.
So you can refer your body element in CSS by
body{

}

Apostropartheid
11-09-2007, 04:25 PM
It makes perfect sense to me. The <body> element isn't set to 100% on IE7, has margins and preserves a line for your content (at least that's what I can gather.)