|
Borders Using CSS
Using CSS, I want to put white lines between each of my navigation menu items.
Here are the relevant style sheet entries:
#container {
width:780px;
margin:auto;
min-height:100%;
background:White;
}
#navmenu {
margin:0;
padding:0;
list-style:none;
height:200px;
width:145px;
float:left;
}
#navmenu li a {
color:#FFFFFF;
background:#990000;
height:20px;
width:115px;
text-decoration :none;
padding-left:10px;
padding-top:5px;
font-weight:bold;
display:block;
line-height:15px;
text-align:left;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size:12px;
background-color: #990000;
}
Here is the relevant body mark up:
<div id="container">
<ul id="navmenu">
<li><a href="Item1.html"></a>Item 1</li>
<li><a href="Forums.html">Item 2</a></li>
<li><a href="Download.html">Item 3</a></li>
</ul>
</div>
I have tried adding:
border-bottom-color: white;
border-bottom-width: 5px;
border-bottom-style: solid;
to the two
navigation
CSS entries above, and it does nothing.
How can I get this bottom white bordr on my navigation menu?
Thanks.
Doug
|