| MozTW 討論區 https://forum.moztw.org/ |
|
| fx 和 ie 看的結果 https://forum.moztw.org/viewtopic.php?f=2&t=8182 |
第 1 頁 (共 1 頁) |
| 發表人: | colingood [ 2005-05-07, 17:05 ] | |||
| 文章主題 : | fx 和 ie 看的結果 | |||
ie 比 fx整齊 請問如何解決
|
||||
| 發表人: | rail02000 [ 2005-05-07, 17:24 ] |
| 文章主題 : | |
請下次將類似問題發表於"問題網頁區" |
|
| 發表人: | danielwang [ 2005-05-07, 18:38 ] |
| 文章主題 : | |
全是用 <div> 來做的排版(見 CSS), 不過不正確 正確的應該是用 table display model (不過 IE 又不支援 @_@)。不知道網主為什麼會想用 <div> |
|
| 發表人: | 到底怎麼用 [ 2005-05-09, 03:33 ] |
| 文章主題 : | |
danielwang 寫:
可能是「用div排版比用table排版好」的原因吧 不我還覺得像這種列表式的資料還是用table比較適合才對 |
|
| 發表人: | danielwang [ 2005-05-09, 05:10 ] |
| 文章主題 : | |
XML+CSS? http://www.w3.org/TR/CSS21/tables.html#q2 CSS 引言回覆: topicList { display:table; }
topic {display: table-row; } topicList topic:nth-child(odd) { background-color: #e0e0e0; } topicList topic:nth-child(even) { background-color: white; } title { display: table-column; font-weight: bold; } date, no_view, date { display: table-column } topicList address { display: table-column } XML 代碼: <topicList>
<topic> <title>Firefox 時啥</title> <address>過路人</address> <no_view>189</no_view> <date>2004-05-03</date> </topic> <topic> <title>IE 被榜架了!</title> <address>管理員</address> <no_view>563</no_view> <date>2004-05-02</date> </topic> : </topicList> |
|
| 第 1 頁 (共 1 頁) | 所有顯示的時間為 UTC + 8 小時 |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|