I have nav a bar on my site but I want to put rounded corners on each end of it. So far my css for this is..
#nav {
left:40px;
position:relative;
top:140px;
}
#nav a {
background-image:url(../images/menu.png);
background-repeat:no-repeat;
color:#FFFFFF;
display:inline;
float:left;
font-family:Arial,Helvetica,sans-serif;
font-size:17px;
font-weight:bolder;
height:44px;
padding-top:12px;
text-align:center;
text-decoration:none;
width:134px;
}
#nav a:hover {
background-image:url(../images/menu_ro.png);
background-repeat:no-repeat;
}
and my HTML..
<div id="nav">
<a href="">Home</a>
<a href="">Food</a>
<a href=""</a>
<a href=""</a>
<a href=""</a>
<a href=""></a>
<a href=""</a>
</div>
I have rounded corners to put on each end called menu_l.png and menu_r.png. Can't quite figure out how to put these on either end of the nav. My attempts so far seem to be getting ignored by browsers. Anyone have a best method to achieve this? Im trying to avoid tables.
Cheers