Hello, I have a page and I'm using CSS but I CANNOT set the page background color for some reason. Anyone know? Also it doesn't center in IE for me. I'm using IE6 on Win 2000 Pro.
Heres the CSS:
Here's the HTML:Code:#body { background-color: #00FF00 } div#top { margin-left: auto; margin-right: auto; height: 66px; width: 600px; font-family: Arial; font-size: 10pt; background-color: #FFFFFF; border-bottom: 2px #D1D1D1 solid; } div#main { margin-left: auto; margin-right: auto; height: 700px; width: 600px; font-family: Arial; font-size: 10pt; background-color: #FFFFFF; } A:link { text-decoration: none; color: #0000FF; } A:visited { text-decoration: none; color: #0000FF; } A:hover { text-decoration: none; color: #000000; }
Thanks all.Code:<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="css/layout.css" type="text/css"> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>Fassist | Home</title> </head> <body> <div id="top"> <br> </div> <div id="main"><br> </div> </body> </html>
Tim



Reply With Quote

Bookmarks