Turning Off Unline in href

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
JackD
Forum Commoner
Posts: 62
Joined: Sat Dec 12, 2009 6:25 pm

Turning Off Unline in href

Post by JackD »

With the following code, how do I turn off the underlining of text?

Code: Select all

echo '<tr><td align="center" class="nyt"><br><a href=search0.php?EAN=' . $ean . '><font color=white><strong>' . $title . '</strong><br><img src="' . $image["Large_Image"]->URL . '" width="80" height="110">';
  echo "<p class='nyt2'>$author<br>List Price: $<strike>$price</strike><br>Our Price: $" . number_format($price*0.75) . "<br></p></a></tr>"; 
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: Turning Off Unline in href

Post by John Cartwright »

Moved to HTML, CSS and other UI Design Technologies

Link underlines can be disabled by applying the text-decoration: none; to your stylesheet's elements.

http://www.google.ca/search?q=css+link+ ... =firefox-a
JackD
Forum Commoner
Posts: 62
Joined: Sat Dec 12, 2009 6:25 pm

Re: Turning Off Unline in href

Post by JackD »

Thanks and sorry, I had not thought about it being in the HTML. I tend to forget about the HTML.
Post Reply