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

Hugh Blair hblair at hotfootmail.com
Sat Apr 20 20:25:01 CDT 2002


> -----Original Message-----
> On Behalf Of Means, Eric D
>
> 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-----
>
> 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">

RE: http://www.wholesalenics.net/index.html

I can't get the link-underline to go away. I've tried these css classes:

.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}

a:link.menu { 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}

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}

My link line looks like this:
<td class="menmaincell"><a class="link"
href="https://www.foobar.com/cgi-bin/manage.cgi?affiliate=foobar">* Manage
*</a></td>
(when using the first class listed above)

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?

-Hugh




More information about the thelist mailing list