Re: Underlined Links in Netscape

by "Cindy Stanley" <stanleysupport(at)prodigy.net>

 Date:  Mon, 18 Oct 1999 12:18:01 -0400
 To:  <hwg-basics(at)hwg.org>
  todo: View Thread, Original
From: Jana <jana2(at)surfree.com>
>Below is one of the files I am editing for a friend.  I have added all
=
>of the links and they look fine in IE 5.0 but when I look at it in =
>Netscape 4.7, all of the links are under lined.  How do I get rid of
the =
>underlines?

In order not to have underlines for your links, you would use CSS (style
sheets). You previously gave ALL the code for the page contents, but
apparently this particular document *is* using style sheets, since you
mentioned it looks "fine in IE" but "all of the links are underlined in
NN4.7".

One thing to remember, that the a:hover is IE specific, so maybe that is
what you are referring to when you say "all the links are underlined in
NN", but not in IE?

An example, in your head tag:
<style type="text/css">
<!--
a:link { text-decoration: none; color: #0000CC }
a:visited { text-decoration: none; color: #663366 }
a:active { text-decoration: none; color: #FF0000 }
a:hover { text-decoration: none; color: #FF0000 }
-->
</style>

For more queries or guidance on style sheets, check the Style list of
the HWG.

--
Cindy K. Stanley

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