![]() ![]() ![]() ![]() |
|||||
|
|||||
樓主 力胖 ![]()
![]() |
</tr> 我想問的問題是,這樣子兩個連結的效果都一樣,但是希望做到的是class=a1那個的效果不同,不知道要怎麼去定義css。
本篇文章發表於2012-02-25 13:48
|
1樓
最有價值解答
香帥 ![]() |
我幫您改成以下這樣就可以了,請參考
<style type="text/css"> .C1 A:link {color: #FF00FF ;text-decoration: none;} .C1 A:visited { color: #FF0000;text-decoration: none;} .C1 A:hover {color: #FFAA00 ;text-decoration: none;} .C2 A:link {color: #4F9EED ;text-decoration: none;} .C2 A:visited { color: #4F9EED;text-decoration: none;} .C2 A:hover {color: 33FF33 ;text-decoration: none;} </style> <tr> <td><span class="c1"><a href="http://www.yahoo.com">link</a></span></td> <td class=a1> <span class="c2"><a href="http://www.yahoo.com">link</a></span></td> </tr> 測試網站在http://ap.a168a.com/test/csstest.aspx 執行圖檔如下: ![]()
本篇文章回覆於2012-02-25 15:35
== 簽名檔 ==
--未登入的會員無法查看對方簽名檔-- |
2樓
作者回應
力胖 ![]() |
ok了~~3Q
本篇文章回覆於2012-02-25 17:28
== 簽名檔 ==
--未登入的會員無法查看對方簽名檔-- |
回覆 |
如要回應,請先登入. |