Home >Web Front-end >HTML Tutorial >Use ulli to create tables for div and css_html/css_WEB-ITnose

Use ulli to create tables for div and css_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:26:541354browse

#news {    width:500px;    border:2px solid #eee;}#news li{    list-style-type:none;     float:left;    width:100px;    text-align:center;    background:#ccc;    margin-right:2px;    margin-bottom:2px;    line-height:30px;    font-size:14px;}#news li.bt{font-size:16px; font-weight:bold; background:#999;}

<div id="news">        <ul>                            <li class="bt">0</li>            <li class="bt">0</li>            <li class="bt">0</li>            <li class="bt">0</li>                        <li>1</li>            <li>1</li>            <li>1</li>            <li>1</li>                        <li>2</li>            <li>2</li>            <li>2</li>            <li>2</li>                        <li>3</li>            <li>3</li>            <li>3</li>            <li>3</li>                        <li>4</li>            <li>4</li>            <li>4</li>            <li>4</li>        </ul>    </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