From: martin f krafft <[EMAIL PROTECTED]>


If not, what other means do I have to work around the problem of the
duplicated ID? Obviously, duplicating all the CSS... but I'd rather
avoid that for obvious reasons.

How about giving the hanging tabs a different id, and then just adding that id to the line that does the css for the existing tabs? Then add new rules to override the bits that need to be different. For example:

What you have now (example):

#portal-globalnav li.selected { color: red; padding-left: 1em; ... }

Change to this:

#portal-globalnav li.selected, #portal-hangingnav li.selected
{ color: red; padding-left: 1em; ... }

#portal-hangingnav li.selected  {color: blue;}

--Dks
______________________________________________________________________
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