Re: Simple(?) HTML Question

by "Phil Babcock" <pbabcock(at)bgsgroup.com>

 Date:  Mon, 13 Nov 2000 13:27:33 -0500
 To:  "Bustin,
Ruth" <rbustin(at)fcg.com>,
hwg-basics(at)hwg.org
 Cc:  "Ari" <aribustin(at)netscape.net>
 References:  fcg
  todo: View Thread, Original
Well, you can do it with style!  

No underline:

<a href=3D"wherever.html" style=3D"text-decoration: none">go here!</a>


As for changing color with mouseover, this can be done only in IE, like so:

<a href=3D"whereever.html" style=3D"color: black"=
 onmouseover=3D"style.color=3D'red'; return true"=
 onmouseout=3D"style.color=3D'black'; return true">go here!</a>

And both together:

<a href=3D"whereever.html" style=3D"color: black; text-decoration: none"=
 onmouseover=3D"style.color=3D'red'; return true"=
 onmouseout=3D"style.color=3D'black'; return true">go here!</a>

You will need, if I am not mistaken, a browser that supports both=
 JavaScript 1 and CSS 1... is that right guys?

hth
phil.




*********** REPLY SEPARATOR  ***********

On 11/13/2000 at 9:00 AM Bustin, Ruth wrote:

>Here's one that may be extremely basic, but I can't find the info=
 anywhere!
>
>How do I create a text link without it being underlined?? Is that possible
>to force or is it up to how the user has his/her browser set up? 
>
>Also, how do I make it change color with a mouseover? Is all this only
>possible with graphic text? 
>
>Thanks in advance!!
>
>Ruth Bustin

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.