I have linked an external CSS file to my webpage, all my classifications are translating to the html page except the ones in the body{}
Here's what I have in my CSS:
Code:
body
{
font-family: Verdana, Geneva, sans-serif;
color:#CCCCCC;
background-color: #000000;
margin: 0;
padding: 0;
text-align:center;
}
Then in my html page:
HTML Code:
<link href="CSS/MainStyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="container">
<div class="header"> ...etc
</body>
Whay are all elemnets being written except the body ones?
Thanks.
Last edited by chrishirst; 09-20-2010 at 02:09 PM..
|