« 小玩 METAFONT | Main | Ruby 到底是什麼? »
我們先來測試一下網頁:
http://edt1023.sayya.org/vim/vst/css2-test.html
你的測試結果如何呢?重點是在各章節標題前的編號。mozilla/firefox 通通不及格。反而 konqueror 才是正確的。請參考以下各圖(click 該圖後放大):
http://www.w3.org/TR/REC-CSS2/generate.html
大家就來找渣一下,到底誰是誰非?:-D
Safari v.2.0.2 (416.33) has the same result as Mozilla 1.7.12.
Camino 1.0b1 looks similar to Firefox 1.5.
It can be fixed by reseting counter in the body and header tags. But I'm not sure if Safari/Camino can be fixed, it works in Firefox 1.5.
body {
counter-reset: chapter section subsection subsubsection paragraph;
counter-reset: lchapter lsection lsubsection lsubsubsection lparagraph; }
h2 { counter-reset: section subsection subsubsection paragraph }
h3 { counter-reset: subsection subsubsection paragraph }
h4 { counter-reset: subsubsection paragraph }
h5 { counter-reset: paragraph }
w3c 自己的浏览器 amaya 都不支持 CSS2 ……
我用的 amaya 9.1
不只Konqueror喔,Opera 8.52也一樣可以正確的瀏覽。
| « | 八月 2010 | » | ||||
|---|---|---|---|---|---|---|
| 一 | 二 | 三 | 四 | 五 | 六 | 日 |
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | 31 | |||||