Jump to content

no underline in link


brem13

Recommended Posts

k, this should be easy and ive done it before, but how do i make a link not underlined??

the code i have is

echo "<tr><td width=125px align=center><a href=viewProfile.php?user=$user><img src=/userImages/thumbs/$profPic $size></a></td><td width=350px valign=top><a href=viewProfile.php?user=$user><font face='Trebuchet MS' size=3 style='text-decoration:none';><b>$user</b></font></a> - <font face=tahoma size=2><i>$status ~ $city</i><br><br>$shortDesc</font></td><td><font face=tahoma size=2>$year_diff</font></td></tr>";

whats wrong?

Link to comment
https://forums.phpfreaks.com/topic/202683-no-underline-in-link/
Share on other sites

k, changed the code

echo "<tr><td width=125px align=center><a href=viewProfile.php?user=$user><img src=/userImages/thumbs/$profPic $size></a></td><td width=350px valign=top><a href=viewProfile.php?user=$user style='text-decoration:none';><font face='Trebuchet MS' size=3 ><b>$user</b></font></a> - <font face=tahoma size=2><i>$status ~ $city</i><br><br>$shortDesc</font></td><td><font face=tahoma size=2>$year_diff</font></td></tr>";

put the style in the a tag and not the font tag, dumb me

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.