hi,
would someone please tell in where and what i should do to make my hovered link underlined? I tried so many attempts but none worked.. all it gave me is a "purple background color when the link is hovered" ... i really don't get it.. thanks
i have a separate css doc which contains the following:
a.nav:link {color:#FFFFFF; text-decoration: none; }
a.nav:visited {color:#FFFFFF; text-decoration: none; }
a.nav:hover {color:#FFFFFF; text-decoration:underline }
a.nav:active {color: blue; }
And the html codes is as follow: and linked to the external css file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="css/text.css"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<body bgcolor="#333333" >
<div id="menu">
<a href="http://www.yahoo.com" style="text-decoration:none"><b><font color="#FFFFFF">:: HENRY'S :: </font></b></a>
</div>
</body>