Link to home
Start Free TrialLog in
Avatar of breeze351
breeze351

asked on

<a href....> text

I'm sure this is an easy one.

How do I display text without having the underline in the code.

$odd..."[TENANT] has the tenant name.  I want the font color to be black and I don't want it to be underlined.

echo '<a href="Space_Display.php?id=NY10300006851100">';
                                    echo $odd_bldg[$count]['TENANT'];
                                    echo "</a>";
Avatar of Dan Craciun
Dan Craciun
Flag of Romania image

Make a style.

Place this in your <head> section:

<style type="text/css">
   a:link {text-decoration: none; color: black;}
   a:visited {text-decoration: none; color: black;}
   a:active {text-decoration: none; color: black;}
   a:hover {text-decoration: underline; color: red;}
</style>

HTH,
Dan

LE: formatting
ASKER CERTIFIED SOLUTION
Avatar of Dan Craciun
Dan Craciun
Flag of Romania image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial