尋夢小站←就是這個跳動連結
↓下面的CSS的語法,是部落格目前使用的
a {text-decoration:none}
a:hover {position: relative; top: 2px;left:2px;}
↓下面的CSS的語法,是包含連結去底線語法
/*Links*/
a,a:link,a:visited{color:#904E0E(部落格中超連結字體顏色);text-decoration: none}
a:hover{color:#F4AB25(滑鼠停在部落格超連結中文字的顏色);background-color: #FFECD9(滑鼠停留在部落格超連結中文字的底色);text-decoration: none;}
a {text-decoration:none}
a:hover {position: relative; top: 2px(向下跳動的距離);left:2px(向右跳動的距離);}
藍色的部份代表去除底線的指令!
語法範例:
/*Links*/
a,a:link,a:visited{color:#0066FF;text-decoration: none}
a:hover{color:#FFFFFF;background-color: #FF6600;text-decoration: none;}
a {text-decoration:none}
a:hover {position: relative; top: 2px;left:2px;}
如果您使用了連結去底線語法,只要將上面那段於法補充貼在/*Links*/就可以了
引用:http://tw.myblog.yahoo.com/jw!qZUdTTKeBRQ96YSnQrLppw--/article?mid=19