Hello .. i am pretty new to html and css... been using it for about 5 days.... and i love it so far... but i ran into a problem.. i am working on my 3rd website.. and i decided to run off a pre made css template ... but i ran into some trouble...
i cant make the menu.. work... the way its supposed to look like...
Please help me... THANK YOU
CSS CODE
CODE
/* Menu */
#menu {
width: 940px;
height: 60px;
margin: 0 auto;
}
#menu ul {
margin: 0;
margin-left: 30px;
padding: 16px 0 0 10px;
list-style: none;
line-height: normal;
}
#menu li {
float: left;
}
#menu a {
margin-right: 3px;
padding: 5px 20px;
background: #000000;
text-transform: lowercase;
text-decoration: none;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: normal;
color: #FFFFFF;
}
#menu a:hover, #menu .current_page_item a {
color: #FFFFFF;
}
#menu a:hover {
text-decoration: underline;
}
HTML CODE
CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link rel="stylesheet" type="text/css" href="file:///C|/Documents and Settings/Owner/My Documents/Unnamed Site 2/Pritning.css" />
</head>
<body>
<div class="menu">
<ul>
<li><a href="http://www.freewebs.com/comrade-games/index.html">Home</a></li>
<li><a href="http://www.freewebs.com/comrade-games/Farminator.html">Farminator</a></li>
<li><a href="http://www.freewebs.com/comrade-games/The%20Comrades.html">The Comrades</a></li>
</ul>
</div>
<p> kill all humans</p>
</body>
</html>