I want my logo, banner ad and nav bar to remain on screen when a user scrolls down. Similar to the effect achieved with frames. But my content scrolls over my fixed elements! Here's the code, stripped down:
<style>
ul#nav {position: fixed; top: 78px; left: 8px; right: 8px;
margin: 0 0 0 0; padding-left: 0; background: #FAEBD7;}
#nav li {display: inline; border-right: 1px solid; padding: 0 0.33em 0 0.33em;}
img#logo {position: fixed; top: 8px; left: 8px;}
img#banner {position: fixed; top: 8px; right: 8px;}
div#main_content {position: absolute; top: 105px; left: 8px right: 8px; bottom: 0;}
a:hover {background: yellow;}
</style>
</head>
<body>
<img id="logo" src="my_logo.gif"> <img id="banner" src="banner.gif">
<ul id="nav">
<li><a href="index.html">Home</a></li>
<li><a href="products.html">Products</a></li>
<li><a href="forum.html">Forum</a></li>
<li><a href="about.html">About</a></li>
</ul>
<div id="main_content">
</div>
</body>









