Hi,
I have some horizontal navigational tabs that were generated by the following CSS:
Here's the list of the navigation:
My navigation works great, and then hovering is great and all of that. Here's what I need to find out.
If I'm on the "Home" page, I want my Home navigator tab to remain "on". In other words I want to give it the same effect as if it was always on or being hovered over.
I've tried a few things like trying to assign an id to <li>, but no luck.
The two images I have sit on top of one another - I'm presuming to make navigation easier.
Thanks in advanced for any help you can provide.
Mfho1
I have some horizontal navigational tabs that were generated by the following CSS:
Code:
#tabs2 {
font: bold 11px/1.5em Verdana;
float:left;
width:100%;
background:#CECBBD;
font-size:93%;
line-height:normal;
margin-top: -5px;
border-bottom: #186118 solid 1px;
}
#tabs2 ul {
margin:0;
padding:10px 10px 0 50px;
list-style:none;
}
#tabs2 li {
display:inline;
margin:0;
padding:0;
}
#tabs2 a {
float:left;
background:url("tabs/tableft2.gif") no-repeat left top;
margin:0;
padding:0 0 0 4px;
text-decoration:none;
}
#tabs2 a span {
float:left;
display:block;
background:url("tabs/tabright2.gif") no-repeat right top;
padding:5px 15px 4px 6px;
/*color:#84776B; original */
color:#292018;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#tabs2 a span {float:none;}
/* End IE5-Mac hack */
#tabs2 a:hover span {
color:#74675B;
}
#tabs2 a:hover {
background-position:0% -42px;
}*
#tabs2 a:hover span {
background-position:100% -42px;
}
Here's the list of the navigation:
Code:
<div id="tabs2">
<ul>
<li><a href="[URL unfurl="true"]http://www.msn.com"[/URL] title="Home"><span>Home</span></a></li>
<li><a href="[URL unfurl="true"]http://www.usatoday.com"[/URL] title="About"><span>About</span></a></li>
<li><a href="[URL unfurl="true"]http://www.yahoo.com"[/URL] title="Services"><span>Services</span></a></li>
<li><a href="[URL unfurl="true"]http://www.newyorktimes.com"[/URL] title="FAQ"><span>FAQ</span></a></li>
<li><a href="[URL unfurl="true"]http://www.foxnews.com"[/URL] title="Pricing"><span>Pricing</span></a></li>
<li><a href="[URL unfurl="true"]http://www.dell.com"[/URL] title="Contact Us"><span>Contact Us</span></a></li>
<li><a href="[URL unfurl="true"]http://www.cnn.com"[/URL] title="News"><span>News</span></a></li>
</ul>
</div>
My navigation works great, and then hovering is great and all of that. Here's what I need to find out.
If I'm on the "Home" page, I want my Home navigator tab to remain "on". In other words I want to give it the same effect as if it was always on or being hovered over.
I've tried a few things like trying to assign an id to <li>, but no luck.
The two images I have sit on top of one another - I'm presuming to make navigation easier.
Thanks in advanced for any help you can provide.
Mfho1