MozTW 討論區 https://forum.moztw.org/ |
|
html疑問:以連結包住<tr>是正確的語法嗎? https://forum.moztw.org/viewtopic.php?f=13&t=2484 |
第 1 頁 (共 1 頁) |
發表人: | radish [ 2004-05-29, 17:42 ] |
文章主題 : | html疑問:以連結包住<tr>是正確的語法嗎? |
例如以下網頁 FASHIONGUIDE眼鏡討論區 在話題以下的部分,他的原始碼是這樣的模式: 代碼: <a href="該主題頁面網}"><tr style="cursor:hand" bgcolor="#ffffff" id="tr1" onmouseover="this.style.backgroundColor='#f9f9f9'" onmouseout="this.style.backgroundColor='ffffff'"><td valign="top"><img src="/Forum/Img/Mark0.gif"></td><td width="100%" style="color:'#000000'" onmouseover="this.style.color='#800000';this.style.textDecoration='underline'" onmouseout="this.style.color='#000000';this.style.textDecoration=''">主題名稱</td><td width="0" nowrap align="center">1</td><td width="0" nowrap>留言時間</td></tr></a>
我在Linux用Firefox 0.8、Mozilla 1.8a、Netscape 7.1看的情形是, 滑鼠經過會變色,但都無法開啟連結。 我想請問一下, 他這種<a><tr>~~</tr></a>的語法是正確的嗎? 第一次發問,寫得不好,請大家見諒 ![]() |
發表人: | danielwang [ 2004-05-30, 00:16 ] |
文章主題 : | |
no 應該是 代碼: <style type="text/css"> [/code]
tr.articlelist:hover { background-color:#f9f9f9; } tr.articlelist { background-color:#ffffff; } tr.articlelist > td { vertical-align:top; } .articleTitle > :link { color: black; text-decoration: none; } .articleTitle > :link:hover { color: #800000; text-decoration: underline; } </style> : : <table> <colgroup> <col style="width: 10px"> <col> <col style="width: 2em;"> <col style="width: 6em;"> </colgroup> : : <tr id="tr1" class="articlelist"> <td><a href="該主題頁面網"><img src="/Forum/Img/Mark0.gif"></a></td> <td class="articleTitle"><a href="該主題頁面網">主題名稱</a></td> <td><a href="該主題頁面網">1</a></td> <td><a href="該主題頁面網">留言時間</a></td> </tr> |
發表人: | radish [ 2004-06-08, 02:18 ] |
文章主題 : | |
謝謝dwx大! 準備要跟他們反應一下了 |
第 1 頁 (共 1 頁) | 所有顯示的時間為 UTC + 8 小時 |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |