I am having issues with my background. First, when the page scrolls, the body bg covers the div bg. Second, when the scroll bar appears, it bumps the body bacckground over 1px, so there is a jagged part. Here is an example: http://www.every-scene.com/coffee.php?recordID=1
I've posted the current code below. I've been playing with it a lot to find a solution and may have just messed everything up worse. Can any one help me?
CSS:
Code:* { margin: 0px; padding: 0px; } html { height: 100%; } body { background: #333333 url(backg.png) repeat-y fixed center top; font-family: Georgia, "Times New Roman", Times, serif; font-size: 85%; text-align:center; height: 100%; } #background { position: relative; background: url(backh.jpg) no-repeat fixed center top; height: 600px; z-index: 10; } html>body #background { /* resets heights for non-IE 6.0 browsers */ min-height: 100%; }
Basic HTML set up:
HTML Code:<body> <div id="background"> <div id="wrapper"> <div id="header"> </div> <div id="content"> </div> <div id="footer"> </div> </div> </div> </body>



Reply With Quote

Bookmarks