> Jad Madi wrote:
> hmm
> what I want is , for example
> http://www.alistapart.com/d/slidingdoors2/v1/ex10a.html#
> when I click on any tab to be active?
> How to do it?
In the above example you change the body id of each page depending on
which tab you want to look active
Currently its set to <body id="products">
And the tab item is
<li id="nav-products"><a href="#">Products</a></li>
In the css this is the style applied (removed some selectors for this
example)
#home #nav-home,
#products #nav-products {
background-position:0 -150px;
border-width:0;
}
#home #nav-home a,
#products #nav-products a {
background-position:100% -150px;
padding-bottom:5px;
color:#333;
}
To have that page with the home tab active you would change the body to
<body id="home">
Hope this helps
Jason
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************