首页 > Web开发 > 详细

【CSS】Intermediate6:Display

时间:2014-04-13 15:46:00      阅读:593      评论:0      收藏:0      [点我收藏+]

1display :inline/block/none

2.inline value

Cause all list items in a list to appear next to each other in one continuous line

rather than each one having its own line.

3.Block

Make a box standalone,fitting the entire width of its containing box,with an effectve line break before and after it.

 

4.inline-block(行内块)

keep a box inline but lend the greater formatting flexibility of block boxes,allowing margin to the right and left of the box.

 

5.none

doesn‘t display a box at all.Take the element‘x box completely out of play.

visibility:hidden——Keep the box and its flow in place

 

6.Table

table-row=tr

talbe-cell=td

talbe-column

table-clolumn-group

talbe-row-group

table-header-group

table-footer-group

table-caption

 

7.inline-table

set the table without line breaks before and after it

 

8.list-item

nested in ul/ol

9.run-in

depend on the display of its parent

 

【CSS】Intermediate6:Display,布布扣,bubuko.com

【CSS】Intermediate6:Display

原文:http://www.cnblogs.com/yzhen/p/3659967.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!