css中的inline-block

div {

display: inline-block;

*display: inline;

*zoom: 1;

}

Basic Support包含值:none | inline | block | list-item | inline-block

table系包含值:table | inline-table | table-caption | table-cell | table-row | table-row-group | table-column | table-column-group | table-footer-group | table-header-group

IE6,7只支持inline元素设置为inline-block,其它类型元素均不可以 

posted on 2017-02-04 13:38  杨龙飞  阅读(162)  评论(0编辑  收藏  举报

导航

Fork me on GitHub