Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove link underline in a table

Status
Not open for further replies.

mrDrive

MIS
Aug 29, 2002
94
US
I have a table with images and links (text links). I want to remove the underline from the text links. For some reason I can't do it like this:

<table style=&quot;text-decoration:none&quot;>
<tr>
.
.
.
</tr>
</table>

Any help would be greatly appreciated!
 
you need to specify the style attribute in the actual link or with a specific class
example:
<table>
<tr>
<a href=&quot;#&quot; style=&quot;text-decoration:none&quot;>link</a>
.
.
</tr>
</table>
_________________________________________________________
for the best results to your questions: FAQ333-2924
01001111 01101110 01110000 01101110 01110100
onpnt2.gif
[/sub]
 
This should work:

[tt]<html>
<head>
<style>
table tr td a {text-decoration: none;}
</style>
</head>
<body>
<table>
<tbody>
<tr>
<td><a href=&quot;#&quot;>No lines on me!</a></td>
</tr>
</tbody>
</table>
</body>
</html>[/tt] -- Chris Hunt
Extra Connections Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top