
Originally Posted by
CoolCarPartsOnline
Everything is possible if you provide enough information on what exactly you want to do.
Ok, sorry about that.
My website is QueenCharlotteSoaps.com. I would like to add a CSS menu below my logo on every page (moving the nav bar and stuff is planned too, but that is not the problem now).
Below is my CSS and HTML. Please let me know if you need any more information. Thank you!
Code:
#cssmenu {
float:left;
width:100%;
background:#600000;
overflow:hidden;
position:relative;
}
#cssmenu ul {
clear:left;
float:left;
list-style:none;
margin:0;
padding:0;
position:relative;
left:50%;
text-align:center;
}
#cssmenu ul li {
display:block;
float:left;
list-style:none;
margin:0;
padding:0;
position:relative;
right:50%;
}
#cssmenu ul li a {
display:block;
margin:0 0 0 1px;
padding:3px 10px;
background:#6000000;
color:#FFFFFF;
text-decoration:none;
line-height:1.3em;
}
#cssmenu ul li a:hover {
background:#369;
color:#6000000;
}
Code:
<html>
<head>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div id="cssmenu">
<ul>
<li><a href="http://www.queencharlottesoaps.com">Home</a></li>
<li><a href="http://queencharlottesoaps.com/index.php?main_page=account">My Account</a></li>
<li><a href="http://queencharlottesoaps.com/index.php?main_page=contact_us">Contact Us</a></li>
<li><a href="http://queencharlottesoaps.com/index.php?main_page=page&id=5">Wet Shaving Information</a></li>
</ul>
</div>
</body>
</html>