Forum Moderators: not2easy
---CSS---
#container {
position: relative;
text-align: left;
margin-left: auto;
margin-right: auto;
width: 900px;
padding: 0;
}
#footer {
margin-top: 95px;
margin-right: 270px;
margin-bottom: 0px;
margin-left: 270px;
text-align: center;
padding: 0;
}
#header {
height: 130px;
margin-top: 25px;
padding: 0;
}
h1 {
margin: 0px;
}
#bodymain {
height: 280px;
padding: 0;
}
---HTML---
<body>
<div id="container">
<div id="bodymain"></div>
<div id="header"></div>
<div id="footer"><img src="images/footer.jpg" width="333" height="10"></div>
</div>
</body>
---------
I've read about 50 forum posts and tried several workarounds with no luck.
--Yes from the top of the browser window
"IE auto pads, Firefox doesn`t. Or set the body elements to 0 and style other elements accordingly. Or did you mean something else?"
--Good bit of info, thanks!
I think I just figured it out. For my footer I used position:fixed.
I knew it was something dumb...this is my first 100% div layout page and I havent quite reached web-nerd status yet. I'll be back ;)
Thanks for your help DC.