Topic: why doesn't my code for my menu bar......
could someone please look at my code and tell me why doesn't my code for my menu bar not working. There is no color on link, no font change on hover, etc.
@charset "utf-8";
/* CSS Document */
/* AUTHOR: Dina Richards
DATE: 2007.11.30
*/
* {
margin: 0px;
padding: 0px;
}
body {
margin: 0,auto;
background: #000 url(images/) repeat-x fixed;
}
/* Link */
#wrapper {
margin-left:auto;
margin-right:auto;
width:787px;
height:auto;
color: #FFF;
}
#header {
height: 315px;
width: 787px;
float:left;
}
#logo {
background: url(images/dark_pixel.jpg) no-repeat;
height: 315px;
width: 787px;
float:left;
}
#one {
float:left;
height:250px;
width:350px;
background:url(images/) 0 0 no-repeat;
}
#one a {
display:block;
height:250px;
background:url(images/) top right no-repeat;
}
#one a:focus, #one a:hover, #one a:active {
background:transparent; /* or background:none; */
}
#container {
float:left;
background-color: #333;
margin-top: 10px;
height: auto;
width: 787px;
text-align: left;
}
#menu {
width: 787;
height: 50px;
background: url(images/title.gif) repeat-x;
}
#menu li {
float: left;
width: 131px;
padding-top: 0.7em;
list-style-type: none;
text-align: center;
}
#menu ul {
display: inline;
}
#menu a {
width: 131px;
height: 48px;
text-decoration: none;
}
#menu a.link {
color: #FFF;
}
#menu a.hover {
width: 131px;
height: 48px;
font-family: bradley hand itc;
}
#menu a.visited {
}
#main_content {
margin-top: 60px;
margin-left: 70px;
}
#footer1 {
height: 40px;
width: 100%;
background-color: #4CBB17;
border: 1px solid #BFFF00;
}
#footer2 {
width: 100%;
height: 40px;
}
..................................................................................................................................
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>bipolarDotCom</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<link href="default.css" rel="stylesheet" type="text/css" media="screen, print"/>
<link rel="shortcut icon" href="images/favicon.gif" type="image/x-icon">
</head>
<body>
<div id="wrapper">
<div id="header">
<div id="logo">
<p>Testing Testing</p>
<div id="one"><a href=""></a></div>
</div>
</div>
<div id="container">
<div id="menu">
<ul>
<li><a href="" title="">HOME</a></li>
<li><a href="" title="">ABOUT</a></li>
<li><a href="" title="">CHAT</a></li>
<li><a href="" title="">FORUM</a></li>
<li><a href="" title="">HELP</a></li>
<li><a href="" title="">CONTACT</a></li>
</ul>
</div>
<div id="main_content">
<p>Testing Testing</p>
</div>
<div id="footer1">
</div>
<div id="footer2">
<p>Testing Testing</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>

