Hi All,
I've been working on a site, and i need to add a sub-category to one of the current lists.
The HTML looks like this...
<div id="rightnav">
<a href="#">Shop</a>
<a href="#">New Products</a>
</div>
The CSS associated with this looks like this:
#rightnav {
display:block;
float: right;
width: 160px;
height: auto;
margin: 2px 6px;
border: 1px solid #cccccc;
}
#rightnav a {
display: block;
border-top: 1px solid #cccccc;
padding: 2px 0px 2px 10px;
font-size:12px;
border-left:1px solid #cccccc;
border-bottom:1px solid #cccccc;
}
#rightnav a:hover{
background-color: #C6F575;
display:block;
}
SO - Can anyone suggest the best way to float a sub category out to the left handside (without having to re write all my menus>???)
Your help is much appreciated.
Craig
I've been working on a site, and i need to add a sub-category to one of the current lists.
The HTML looks like this...
<div id="rightnav">
<a href="#">Shop</a>
<a href="#">New Products</a>
</div>
The CSS associated with this looks like this:
#rightnav {
display:block;
float: right;
width: 160px;
height: auto;
margin: 2px 6px;
border: 1px solid #cccccc;
}
#rightnav a {
display: block;
border-top: 1px solid #cccccc;
padding: 2px 0px 2px 10px;
font-size:12px;
border-left:1px solid #cccccc;
border-bottom:1px solid #cccccc;
}
#rightnav a:hover{
background-color: #C6F575;
display:block;
}
SO - Can anyone suggest the best way to float a sub category out to the left handside (without having to re write all my menus>???)
Your help is much appreciated.
Craig