2008-02-16
style中display的使用
display:none改div不会显示,默认为inline,可以显示出来。
<div style="height:276px;width:350px;line-height:20px;overflow-y:scroll;
overflow-x:hidden;background:#fff;display:none" id="LrcShower_div">2121</div>
HTML { display : sDisplay } Scripting object.style.display [ = sDisplay ]
Possible Values
sDisplay String that specifies or receives one of the following values.
block Object is rendered as a block element. none Object is not rendered. inline Default. Object is rendered as an inline element sized by the dimensions of the content. inline-block Object is rendered inline, but the contents of the object are rendered as a block element. Adjacent inline elements are rendered on the same line, space permitting. list-item Internet Explorer 6 and later. Object is rendered as a block element, and a list-item marker is added. table-header-group Table header is always displayed before all other rows and row groups, and after any top captions. The header is displayed on each page spanned by a table. table-footer-group Table footer is always displayed after all other rows and row groups, and before any bottom captions. The footer is displayed on each page spanned by a table.
<div style="height:276px;width:350px;line-height:20px;overflow-y:scroll;
overflow-x:hidden;background:#fff;display:none" id="LrcShower_div">2121</div>
发表评论
- 浏览: 10210 次
- 性别:

- 来自: 天尽头

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
(zt)百度Hi试用报告
zhjb7与ctguzhupan 已经发送!
-- by flare -
(zt)百度Hi试用报告
楼主介绍一下HI的特点何在啊?若是一个MSN克隆版,如何撼动QQ?
-- by fight_bird -
(zt)百度Hi试用报告
整个就是msn 第二.
-- by ray_linn -
(zt)百度Hi试用报告
帮我激活试试百度ID:ctguzhupan
-- by 温柔一刀 -
(zt)百度Hi试用报告
给我激活一下吧,百度ID:zhjb7,十分感谢。
-- by zhjb7






评论排行榜