Re: link with different font and underline colours

by =?iso-8859-1?Q?Josu=E9?= Figueira Machado <jmachado(at)mindspring.com>

 Date:  Fri, 26 Oct 2001 12:51:14 -0400
 To:  HWG Style <hwg-style(at)hwg.org>
 References:  on
  todo: View Thread, Original
Actually, try this:

<a href=3D"" style=3D"text-decoration: underline; color: red"><span=20
style=3D"color: blue">blah</span></a>

It works on IE5.5, NS6.x, Moz0.9.3, and Opera5.02 for Win.

Josu=E9

At 08:40 AM 10/26/2001 -0700, Justin H. wrote:
>You could always try it this way:
>
><span style=3D"text-decoration: underline; color: red"><a href=3D""
>style=3D"text-decoration: none; color: blue">blah</a></span>
>
>I'm not sure how that'll work in IE/Opera, but it works beautifully in
>Mozilla (and should work in NN6.1).
>
>Justin H.
>
>Mike Cunningham wrote:
> >
> > I want to use links where the colours of the font and underline are
> > different. I originally tried:
> >
> > <u style=3D"color: silver;"><a href=3D"blah" style=3D"text-decoration:=
 none;
> > color: Blue;">blah</a></u>
> >
> > This works in Opera 5 and Netscape 6.
> >
> > A friend suggested:
> >
> > <a href=3D"" style=3D"color: blue; border-bottom: 1px solid red;
> > text-decoration: none;">blah</a>
> >
> > This adds IE 5.5 to the mix.
> >
> > I'm wondering if anything works in IE 5. I'm sure Netscape 4 is a=
 writeoff.
> >
> > Please cc any replies as I'm on the digest. Thanks.
> > ---
> > Mike Cunningham

HWG hwg-style mailing list archives, maintained by Webmasters @ IWA