I am new at CSS and have what seems to me a very basic question. How do I make my page fill up the screen, or at least be centered on the screen instead of everything all on the left and empty space on the right?
The page I am working on is at [url]http://www.southgateschools.com/Acme/index_a.html
This is my css:
<html>
<head>
<title>Southgate Community School District</title>
<STYLE TYPE=”text/css”>
<!– Style_sheet –>
body {
margin: 0; }
div {
width: 100%; height: 100%; }
#topleft {
position: absolute;
top: 5px;
left: 5px;
width: 700px;
height: 100px;
}
#topaddress {
position: absolute;
top: 40px;
left: 5px;
width: 700px;
}
#topmenu {
position: absolute;
top: 123px;
left: 5px;
width: 700px;
height: 19px;
}
#sidenavbar {
position: absolute;
top: 160px;
left: 5px;
width: 145px;
height: 200px;
padding: .5em;
border: medium solid #990000;
}
#side_right {
position: absolute;
top: 160px;
left: 5px;
width: 660px;
height: 200px;
padding: .5em;
}
#newsmenu {
position: absolute;
top: 160px;
left: 157px;
width: 450px;
}
#main {
position: absolute;
top: 170px;
left: 90px;
width: 530px;
}
#bottom {
position: absolute;
top: 510px;
left: 5px;
width: 700px;
}
BODY {body-background:”images/beige169.jpg”}
P {color: black; font-size: 8pt; font-family: Verdana, Arial, Times, serif}
H1 {color: #5A0029; font-size: 9pt; text-align: left; font-family: Verdana, Arial, Times, serif}
H2 {color: #5A0029; font-size: 12pt; text-align: center; font-family: Verdana, Arial, Times, serif}
H3 {color: #5A0029; font-size: 14pt; text-align: center; font-family: Verdana, Arial, Times, serif}
H4 {color: #5A0029; font-size: 12pt; text-align: center; font-family: Verdana, Arial, Times, serif}
TABLE {cellspacing: 8; cellpadding: 1;}
TD {font-size: 8pt; font-color: white; font-family: Verdana, Arial, Times, serif;}
a{color:#990000}
a:hover {text-decoration:underline}
a:active {color: #990000}
a:visited {color: #990000}
a:hover {color: #990000; background-color: #FFFFFF;}
</style>
</head>
</html>