Page 1 of 1

Turning Off Unline in href

Posted: Thu Apr 22, 2010 8:47 pm
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>"; 

Re: Turning Off Unline in href

Posted: Thu Apr 22, 2010 9:04 pm
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

Re: Turning Off Unline in href

Posted: Thu Apr 22, 2010 9:23 pm
by JackD
Thanks and sorry, I had not thought about it being in the HTML. I tend to forget about the HTML.