Posted by Jonathan N. Little on 02/12/07 17:01
leodippolito@gmail.com wrote:
> Hi there,
>
> I have this code:
<snip code>
>
> ---
>
> It works fine in Firefox (I have a table with the maximum screen
> height and no scrollbars).
>
> In IE7 I get a vertical scrollbar and the table looks larger (in
> height) than it should be.
>
> I don't understand.... What am I doing wrong?
>
> How can I have the same Firefox appearence in IE7?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta http-equiv="content-language" content="en-us">
<title>Dump The Table</title>
<style type="text/css">
HTML, BODY {
background-color: #fee;
margin: 0;
padding: 0;
}
#header {
background-color: #ffe;
height: 60px;
width: 100%
}
#contents {
margin: 0 1em 60px 1em;
}
#footer {
background-color: #eef;
height: 60px;
width: 100%;
position: absolute;
left: 0;
bottom: 0;
}
</style>
</head>
<body>
<div id="header">Header Here</div>
<div id="contents">
<h1>Dump The Table</h1>
<p>
Lorem ipsum dolor sit amet, consectetuer adipiscing ...
</p>
</div>
<div id="footer">Footer Here</div>
</body>
</html>
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
[Back to original message]
|