menu problems
Posted: Tue Apr 24, 2007 11:22 am
Hi,
Im trying to use this menu, but strugling, can someone please tell me how to create this menu? where do things go to make this work?
html
css
if anyone can spare some time, im desperate to figure this out, any help much appreciated
if you can, could you please tell me how do i create a menu template based on this css/html and how do i call it to my page?
Im trying to use this menu, but strugling, can someone please tell me how to create this menu? where do things go to make this work?
html
Code: Select all
<div id="navwrap">
<ul id="menu">
<li id="active"><a href="link1">link1</a></li>
<li><a href="link2">liink2</a></li>
<li><a href="link3">link3</a></li>
<li><a href="link4">link4</a></li>
<li><a href="link5">link5</a></li>
<li><a href="link6">link6</a></li>
</ul>
</div>
css
Code: Select all
#navwrap {
width:777px;
margin: auto;
height:25px;
border: 1px solid #666666;
}
ul#menu {
list-style-type:none;
width:777px;
height:25px;
font-size:14px;
line-height:1.4em;
margin:0 0 0 0px;
padding:0;
}
ul#menu li {
text-align:center;
overflow:hidden;
float:left;
}
ul#menu li a {
width:127px;
height:16px;
display:block;
color:#264b00;
text-decoration:none;
/*border-left:1px solid #FFFFFF;*/
padding:7px 0;
}
ul#menu li a:hover {
background-color:#264b00;
color:#cff3ad;
}
ul#menu li#active a {
background-color:#264b00;
color:#cff3ad;
}
if you can, could you please tell me how do i create a menu template based on this css/html and how do i call it to my page?