[thelist] Semi-final New site - Critique for anything

Andrew Forsberg andrew at thepander.co.nz
Sat Apr 20 20:37:00 CDT 2002


> > Just a note, according to the official spec
> > (http://www.w3.org/TR/REC-CSS1#anchor-pseudo-classes) the class should go
> > before the pseudo-selector, thus:
> > a.menu:link {}
> > not
> > a:link.menu {}

> a:menu.link { font-weight: normal; font-size: 12px; font-family : Verdana,
> Arial, Helvetica, sans-serif; color: #333333; background-color: #bcbcbc; border:
> 0px #333333 none; width: 90%; text-decoration: none}
[...]
> Interesting that Dreamweaver won't allow (build or use) css classes
> with the "a:menu.link" syntax. Not that I can't and don't also work
> via a plain editor, but these classes still don't remove the underline.
>
> Any ideas?

Yup: try a.menu:link -- the : between menu and link, and the . between a
and menu. :-)

Cheers
Andrew





More information about the thelist mailing list