Hi,
Problem description: top div is not taking the whole width of the window but something smaller than that.
Playing with the code and searching for info, I think that I was able to understand what the problem is but could not figure out a fix.
Take a look at the first two lines (body and top). the width percentage used in “top” is based on the width of the parent object. I think the parent object of the top section is the body. because of using left and right margins for the body, the body width is smaller than that of the window.
I need a different way to specify the width of top or be able to do somehing like width=100% + 185px !!!!
Thanks,
Sam
—– code: just take a look at the first two lines —–
body {margin-right: 85px; margin-left: 100px; margin-top: 130px}
#top {position: absolute; top: 0px; left: 0px; height: 130px; width: 100%}
#nav {position: absolute; top: 140px; right: 0px; width: 85px}
#lef {position: absolute; top: 140px; left: 0px; width: 100px}
#footer {position: relative; top: 0%; left: 0%; width: 100%}
(and in the body section)
<body>
<!– Main contents of page –>
<div id=”top” align=center>
<!– header contents –>
</div>
rest of code