Reputation: 27
Having a problem with following line.
echo "<p><font size=+1 style=\"font: 16px verdana,sans-serif; text-decoration:none; color: navy;\"> Use <b><a href=\"/showcal.php?ownerid=$ownerid\">mysite.com/showcal.php?ownerid=$ownerid </a></b> as link for your viewers.</font><br>";
Font: 16px is working. color:navy is working. text-decoration is not working.
Upvotes: 1
Views: 61
Reputation: 371193
text-decoration
is already none
on the (deprecated) font
element. That's the default.
And it's not an inheritable property, so the a
can't get it from the parent.
Apply the text-decoration: none
to the a
element.
Upvotes: 2
Reputation: 1719
Apply the text-decoration: none to the 'a' tag
echo "<p><font size=+1 style=\"font: 16px verdana,sans-serif; text-decoration:none; color: navy;\"> Use <b><a style=\"text-decoration:none;\" href=\"/showcal.php?ownerid=$ownerid\">mysite.com/showcal.php?ownerid=$ownerid </a></b> as link for your viewers.</font><br>";
Upvotes: 0