May 12, 2006

CSS 白痴紀錄

<style type="text/css">
起動 CSS 簡易內篏碼
</style>

<DIV>
<DIV> 包住的網頁元件會變成一個「區塊物件」,旁邊的東西會被擠到上一行或下一行去,元件自己獨立成一行。
</DIV>

<SPAN>
<SPAN> 包住的物件不會斷行,也不會自成一塊。
</SPAN>
分類: 好像有用的電腦小知識 Posted by GTO at May 12, 2006 4:17 PM | TrackBack
Comments

is god of all CSS style. You can set style="display:block" to force BR around, and have no line break by "display:inline". "display:none" will hide the layer, so you can have some fold up menus by simple Javascript.

I just learnt it from w3schools.com CSS guide.

Posted by: kero at May 14, 2006 11:36 PM
Post a comment









Remember personal info?