What have you found for these years?

2007-08-25

CSS2

其實 beast 本來就幾乎符合 css 標準了,只差了一點,
多了些奇怪的 x 系列,還有幾個顏色字查無此人,套顏色碼
進去就好了。隨便 google 了一下就有個對照表可以照著用。

色碼我不怕有問題,最多就是顏色變了些罷了。但那些 x 開頭的
讓我有點擔心,會不會讓排版跑掉。google 了半天都查不到,
卻讓我查到這個:
What are the "x" attributes in CSS?
http://beast.caboo.se/forums/1/topics/1222

bq. The CSS in Beast specifies various attributes with an “x” prefix: xfloat, xbackground, xcolor, etc. What are these attributes? They’re not valid CSS, and I can’t find anything about them in Google.

bq. I think it’s just a lazy way to clear them without putting proper /* comments */ around them.

翻桌!也未免太懶了吧!!為此不合標準不是很沒意思嗎?所以我把他們
都註解掉了。不過看到這段話才發覺,原來那 css 不是 beast 作者
寫的。那版面還做得不錯,究竟是怎麼辦到的?我還以為是一起寫的。

總之,XHTML 1.0 Transitional + CSS 都過了,所以我貼紙也都貼了 XD
下一個目標是試著改成 XHTML 1.1 ? 如果好改的話,會試試看。

星之水餃

0 retries:

Post a Comment

Note: Only a member of this blog may post a comment.



All texts are licensed under CC Attribution 3.0