CSS pseudo class question

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

    Dear readers,

Can I have a class selector the pseudoclasses like:

 .menuw {  general_stuff_for_this_class; }

 a.menuw:link { special_for_link;}
 a.menuw:visited {special_for_visited; }
 a.menuw:hover { special_for_hover; }
 a.menuw:active { special_for_active; }

Tia, Jean.

Re: CSS pseudo class question

[CSS pseudo class question]

CSS questions belong in comp.infosystems.www.authoring.stylesheets
crossposted and f-up set

Quoted text here. Click to load it

Sure, but if the missing HTML looks like this:

<a href="foobar.htm" class="menuw">foobar</a>

Then the a.menuw:link rule is more specific than the .menuw rule,
therefore the .menuw rule is superfluous.


Site Timeline