A CSS pseudo class question
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

A CSS pseudo class question

From: steve <stevema1955@yahoo.com>
Date: Thu Aug 25 2005 - 16:59:08 CEST

Hi,

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>&nbsp;&nbsp;|&nbsp;&nbsp;
<A href="http://www.ibm.com">Ibm</A></body></html>
Received on Tue Oct 18 03:12:56 2005