[thelist] Semi-final New site - Critique for anything
Means, Eric D
eric.d.means at boeing.com
Tue Apr 16 14:27: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 {}
-----Original Message-----
From: Miriam Frost [mailto:miriam at members.evolt.org]
Sent: Tuesday, April 16, 2002 2:15 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] Semi-final New site - Critique for anything
> But that also mucks up links in the body text, doesn't it?
no, you'd just make different ones. Like this:
a:link.menu {text-decoration: none;}
a:hover.menu {background-color:#XXXXXX;}
a:link.body {font-weight: bold; text-decoration: none;}
a:hover.body {background-color:#YYYYYY; text-decoration: underline;}
then in the <a> tag for menu items, it would be like this:
<a href="/register.html" class="menu">
and for links in the body,
<a href="/heresalink.html" class="body">
have fun,
Miriam
--
http://www.dynagirl.com/
Schmielling and schmozzeling since 1971
--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !
More information about the thelist
mailing list