dongxiong4571 2017-02-11 03:22
浏览 36
已采纳

样式不是内联样式

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.

  • 写回答

2条回答 默认 最新

  • dongxinche1264 2017-02-11 03:29
    关注

    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>";
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?