在css中 这个日期怎么加

html-css012

在css中 这个日期怎么加,第1张

给个span标签,让他右浮动,示例代码:

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>文汇建站</title>

<style>

ul li{ width:300px}

ul li span{ float:right}

</style>

</head>

<body>

<ul>

    <li>陕西省陕西省陕西省<span>2017-4-28</span></li>

    <li>陕西省<span>2017-4-28</span></li>

    <li>陕西省陕西省<span>2017-4-28</span></li>

    <li>陕西省<span>2017-4-28</span></li>

</ul>

</body>

</html>

在空间上显示天气预报+系统信息+日历+问候+签名

把以下代码插入最后一行即可!

#comm_info div.line{margin-top:8pxline-height:10pxborder-top:2px solid #BBC1C6

background:url(http://www.hotik.com/sign.png) no-repeat bottompadding-bottom: 100px

margin-bottom: 25px}