RedWingsSux
03-10-2004, 06:22 PM
My apologies in advance if this post should go into the CSS area.
When the below code renders in IE the text link is grey and underlined. The grey color is okay but I don't want the underline. Anyone know how to change the default style for disabled to remove the underline?
<html>
<head>
<style>
.link { text-decoration:none; }
</style>
</head>
<body>
<a href="#" class="link" disabled="disabled">Text</a>
</body>
</html>
Additional info. I want to disable an HREF tag when the user is on that page (FYI - my platform is asp.net). My alternative is to assign additional logic to remove the HREF when on that page - but I would rather use disabled.
p.s. Todd Bertuzzi is a sissy!
When the below code renders in IE the text link is grey and underlined. The grey color is okay but I don't want the underline. Anyone know how to change the default style for disabled to remove the underline?
<html>
<head>
<style>
.link { text-decoration:none; }
</style>
</head>
<body>
<a href="#" class="link" disabled="disabled">Text</a>
</body>
</html>
Additional info. I want to disable an HREF tag when the user is on that page (FYI - my platform is asp.net). My alternative is to assign additional logic to remove the HREF when on that page - but I would rather use disabled.
p.s. Todd Bertuzzi is a sissy!