I am having a strange problem with a Website I am building using HTML5/CSS. I have managed to make the Background Image fit any size Browser Window, as well as creating a Header and Footer that stay in their proper places regardless of the size of the Browser, but somewhere along the line I must have done something screwy such that any text I try to add now actually shows up behind the Background Image. Any help with this would be greatly appreciated. This is my first website so tips/tricks from those of you far more knowledgeable in these things are also welcome.
Website : http://www.logic-land.com
HTML
<!DOCTYPE html> <html> <head> <title>Logic-Land - The Most Logical Place on the Web</title> <style> </style> <link rel="stylesheet" type="text/css" href="default.css"> </head> <body> <div id="page-background"> <img src="http://www.logic-land.com/images/delphitext.png" width="100%" height="100%"> </div> <div id="topnav"> <p style="text-align: center" font-style="arial"> <a href="http://www.logic-land.com/" style="text-decoration: none">Home</a> | <a href="http://www.logic-land.com/forums/index.php" style="text-decoration: none">Forums</a> | <a href="http://www.logic-land.com/contact.html" style="text-decoration: none">Contact</a> </p> </div> <div id="bottomnav"> <p style="text-align: center"><a href="http://www.logic-land.com/symbols.html" style="text-decoration: none">The Symbols</a> | <a href="http://www.logic-land.com/" style="text-decoration: none">Primitive Rules</a> | <a href="http://www.logic-land.com/" style="text-decoration: none">Derived Rules</a> <p style="text-align: center; font-size: 75%">The Logical Reference:<a href="http://www.iep.utm.edu/" target="_blank">Internet Encyclopedia of Philosophy</a> </p> </div> </body> </html>
CSS
p a:link {color: black}
p a:visited {color: black}
p a:hover {color: rgb(112,128,144)}
p {font-family: "Lucida Sans Unicode", "Lucida Grande", "Arial"}
p {font-size: 20px}
#bottomnav {position: absolute; bottom: 35px; left: 28%; right: 28%}
#page-background {position:fixed; top:0; left:0; width:100%; height:100%}
#topnav {position: absolute; top: 15px; left: 28%; right: 28%}

Help

Back to top









