Home >Web Front-end >HTML Tutorial >css杂类收集3_html/css_WEB-ITnose

css杂类收集3_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:24:041063browse

实现一个不定宽的区域居中显示

.wrap{    text-align:center;}.inner{    display:inline-block;}<div class="wrap">    <div class="inner">        </div></div>


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn