[筆記:CSS] text-decoration : none

語法 : css 的 text-decoration : none
目的 : 想讓 HTML連結的底線消掉

參考語法:

<style type="text/css">
<!--
a { text-decoration: none }
-->
</style>

發現怎樣TRY 都不行,卻發現可以直接在 a href 裡頭直接下 style

<a href="xxx.html" style="color:#CC0000; text-decoration: none">

如此就可以把不想要看到的底線消掉囉!!

留言

這個網誌中的熱門文章

地震般的暈眩

違反道路交通管理處罰條例第53條

Who ever Finds This I Love You