Hi.
I have a pesky gap to the right of each of my series of horizontal
tabs on the main nav bar of my site. I have tried a number of margin
and padding tricks (shown below) and can't seem to get rid of them.
please help?
also, while I am at it, could somebody tell me how to add a little
padding below each title in the tab to make the underline (when
hovered above) more obvious? when i try to do this with padding the
tabs extend down below the bottom border line - not the change I am
going for.
Here is the CSS:
div#mastertabsm enu
{
margin: -1px !important; /* for the sexy browsers */
margin: 0px; /* for IE5/Win :*( */
}
div#mastertabsm enu ul {
margin: 0px;
padding: 0px;
display: inline;
list-style-type: none;
}
div#mastertabsm enu ul li {
margin: 0px;
padding: 5px 5px 0px;
border: 1px solid #000;
border-bottom:none;
border-right:none;
list-style-type: none;
font-size:15px;
font-family:Times New Roman;
display: inline;
background-color:#fff;
}
div#mastertabsm enu li a
{
text-decoration:none ;
color:Blue;
}
div#mastertabsm enu li a:hover
{
color:Blue;
text-decoration:unde rline;
}
div#mastertabsm enu li.help {
border: 1px solid #000;
border-bottom:none;
list-style: none;
display: inline;
}
AND HERE IS THE HTML:
<td valign="bottom" style="border-bottom:solid 1px black;">
<div id="mastertabsm enu">
<ul id="masternavli st">
<li><a href="../home.aspx">Home </a></
li>
<li><a href="../
community.aspx" >Community</a></li>
<li><a href="../search.aspx">Se arch
Tools</a></li>
<li class="help"><a href="#nogo">He lp</a></li>
</ul>
</div>
</td>
I have a pesky gap to the right of each of my series of horizontal
tabs on the main nav bar of my site. I have tried a number of margin
and padding tricks (shown below) and can't seem to get rid of them.
please help?
also, while I am at it, could somebody tell me how to add a little
padding below each title in the tab to make the underline (when
hovered above) more obvious? when i try to do this with padding the
tabs extend down below the bottom border line - not the change I am
going for.
Here is the CSS:
div#mastertabsm enu
{
margin: -1px !important; /* for the sexy browsers */
margin: 0px; /* for IE5/Win :*( */
}
div#mastertabsm enu ul {
margin: 0px;
padding: 0px;
display: inline;
list-style-type: none;
}
div#mastertabsm enu ul li {
margin: 0px;
padding: 5px 5px 0px;
border: 1px solid #000;
border-bottom:none;
border-right:none;
list-style-type: none;
font-size:15px;
font-family:Times New Roman;
display: inline;
background-color:#fff;
}
div#mastertabsm enu li a
{
text-decoration:none ;
color:Blue;
}
div#mastertabsm enu li a:hover
{
color:Blue;
text-decoration:unde rline;
}
div#mastertabsm enu li.help {
border: 1px solid #000;
border-bottom:none;
list-style: none;
display: inline;
}
AND HERE IS THE HTML:
<td valign="bottom" style="border-bottom:solid 1px black;">
<div id="mastertabsm enu">
<ul id="masternavli st">
<li><a href="../home.aspx">Home </a></
li>
<li><a href="../
community.aspx" >Community</a></li>
<li><a href="../search.aspx">Se arch
Tools</a></li>
<li class="help"><a href="#nogo">He lp</a></li>
</ul>
</div>
</td>
Comment