|
I have safari 4.0 on a mac and for some reason my css pretty much does not work at all and i have no idea why. I was wondering if I could get some pointers or suggestions. Here is the code:
#logo{
height: 100px;
width:700px;
padding-bottom:15px;
margin: 0 auto;
background-color:#CCCCCC;
}
#wrapper{
background-color:#009966;
height:480px;
width:700px;
margin: 0 auto;
}
#left{
background-color:#000066;
height:450px;
width:320px;
margin:15px;
float:left;
}
#right{
background-color:#000066;
height:450px;
width:320px;
float:right;
margin:15px;
}
#footer{
height:50px;
width:700px;
margin: 0 auto;
background-color:#330000;
}
and here is the html:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="logo">
this is the logo
</div>
<div id="wrapper">
<div id="left">
problem
</div>
<div id="right">
solution
</div>
</div>
<div id="footer">
footer
</div>
</body>
</html>
Thanks for any help or suggestions!
|