預設表格框粗細不一

Row 1, column 1 Row 1, column 2
Row 2, column 1 Row 2, column 2

 

解法:可用合併邊框的屬性

table { border-collapse:collapse; }

Row 1, column 1 Row 1, column 2
Row 2, column 1 Row 2, column 2

 


 

 

連結的底線屬性和文字間沒有距離

text-decoration:underline

例:我是連結測試


解法:想要讓文字和底線的距離拉開,可改用

a { border-bottom: 1px #ccc solid;  }

例:我是連結測試

 

控制底線和文字的距離可搭配

padding-bottom

 

Either use a different font or use a border-bottom instead so that you can control the space with padding-bottom.

來源:http://stackoverflow.com/questions/3085394/space-between-text-and-underline

arrow
arrow
    全站熱搜

    turnXD 發表在 痞客邦 留言(0) 人氣()