控制块元素

display:block一般一个块占一行,除非float
display:inline是自动排为一行,就象段内的文字一样,可成为多行。
posted @ 2009-12-17 11:10  风影极光  阅读(105)  评论(0编辑  收藏  举报