Dear All:

My first time using a CMS (TxtPattern), and I'm struggling a bit.

I'm trying to set the active link on this page [1], to a different color 
from the rest.

<ul class="mainnav">
<li><a href="/" id="menu_default"><span>Home</span></a></li>
<li><a href="about" class="active" 
id="menu_about"><span>About</span></a></li>
[--more links--]
</ul>

Now, I want to assign the class "Active" to have the different 
background. What should I do? This changes from page to page, 
dynamically, so I can't use the ID property.

I assumed that the following CSS would work; it didn't :-|

.active { text-decoration: none; background-color: #FC0; color: #000; 
padding: 1em;}

Thanks in advance,
Rahul.

[1] http://www.littleandreid.com/mentaidyn/about


-- 

. . . . . . . . . . . . . . . . . . . . . . . .
Rahul Gonsalves
Make PNG, not War.
. . . . . . . . . . . . . . . . . . . . . . . .
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to