I have a CSS menu that looks a lot like the navigation menu at L.L.
Bean. What I want to do is make an effect like the one at Microsoft's
website where you go over a link and it makes a box around it that
covers the height of the link but the width of the table not the width
of just the link. How can I get that effect in CSS? Whenever I try to
do a border with padding it doesn't work. Here is my CSS so far
.NavBody {
margin: 0px;
padding: 0 0 0 0;
}
.NavHeaderTD {
background: #6699FF;
}
.NavContentTD {
background: #66CCFF;
}
div.NavHeaderDIV {
padding: 4px 4px 4px 4px;
font-size:10pt;
font-weight: bold;
text-align: center;
text-transform: uppercase;
}
div.NavLinkDIV {
margin: 1px 0px;
padding-right: 5px;
}
div.NavLinksDIV {
margin-left: 13px;
}
a.NavLinkA:link, a.NavLinkA:visited {
color: #000000;
text-decoration: none;
}
a.NavLinkA:hover {
border: solid 1px #000000;
background-color: #6666FF;
color: #000000;
text-decoration: none;
}