I started using divs and I write the initial coding. Saved the css and the html page but when I preview it, it doesnt seem to work. ?
Heres the css coding:
body (
background-color: #999999
font-family:verdana, sans-serif; color: #000000; font-size: small; line-height: 1.6em
}
#main {
width: 538px;
height: 400px;
margin: 35px auto;
text-align: left;
}
and here is the html page:
<head>
<title>Untitled Document</title>
<link rel="stylesheet" type="text/css" href="C:\Documents and Settings\Owner\Desktop\css3.css">
</head>
<body>
<div id="main">
<p>hello</p>
</div>
</body>
</html>
the result is just a white/blank colored bg and left-aligned text of “hello” thats in Times New Roman when I specified it to be verdana above where set it to Verdana.
Whats wrong?
edit: its C:\Documents and Settings\Owner\Desktop\css3.css (couldnt get it fixed above.