"steve" wrote
>
> In this code, if I remove the 2nd line A:link {TEXT-DECORATION: none},
> the eBay and Ibm will be underlined. Why? Thank you.
>
> <html><head><STYLE type=text/css>
> A:link {TEXT-DECORATION: none}
> A:visited {COLOR: red;}
> A:active {COLOR: purple;}
> A:hover {TEXT-DECORATION: underline;COLOR:
> green;Text-transform:uppercase}</STYLE></head>
> <body>
> <A href="http://ebay.com">eBay</A> |
> <A href="http://www.ibm.com">Ibm</A></body></html>
>
Links are underlined by default in practically all browsers. To have links
with no lines under them, you need that rule to explicitly state so. Also,
the moment a link becomes a visited link according to the browser's memory,
any :link pseudo-rules will no longer apply to it. They might have more
details in a newsgroup dedicated to CSS, such as
news:comp.infosystems.
www.authoring.stylesheets.
hth
ivo