[thelist] CSS class for Links

Gary Finnigan gfinnigan at talk21.com
Tue Aug 28 22:45:30 CDT 2001


Mmmm. I tried that. But in IE 5.5 it doesn't work. The mail link works, but
inherits the properties of the standard link that has ben set. I have played
with the sequence in which they appear to no avail.
Am I missing something really basic here?
Regards
Gary
----- Original Message -----
From: "Mark Cheng" <mark.cheng at ranger.com.au>
To: <thelist at lists.evolt.org>
Sent: Wednesday, August 29, 2001 4:10 AM
Subject: RE: [thelist] CSS class for Links (was: RE Line lengths + screen
sizes (was RE: Site Critique))


> Hi Gary,
>
> For future reference you should edit the subject when changing topic!
>
> However, you can set classes for links, as follows:
>
> In the css
>
> a.mail {color:#etc; other style declarations}
>
> and in the HTML
>
> <a class="mail" href="mailto: foo at bar">This is a mail link</a>
>
> you can also set the hover, visited and link states in the css
>
> a.mail:hover {styles}
>
> hth
>
> Mark
>
> >-----Original Message-----
> >From: thelist-admin at lists.evolt.org
> >[mailto:thelist-admin at lists.evolt.org]On Behalf Of Gary Finnigan
> >Sent: 29 August 2001 10:58
> >To: thelist at lists.evolt.org
> >Subject: Re: [thelist] Line lengths + screen sizes (was RE: Site
> >Critique)
> >
> >
> >Hi all,
> >I have an external style sheet that makes all of my links appear like
> >butons. This looks great but I don't want all of my links to appear as
> >buttons. Email links for instance I want to be rendered differently.
> >Is there any way to make a class for the <a> tag? I have tried with no
> >success.
> >Regards
> >Gary
>
>
> This email may be confidential and contain commercially sensitive
information.  Only the intended recipient may access or use it.  If you are
not the intended recipient please delete this email and notify us promptly.
> We use virus scanning software but exclude all liability for viruses or
similar in this email or any attachment.
>
>
>
> ---------------------------------------
> 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