最新消息:

前端第2款:头条新闻

前端模块 杨红伟 4136浏览 0评论

描述:尤其在做门户站时,我们经常有头条新闻,这样的头条怎么做呢?有这一模块,我们再也不愁了!!!

 

HTML代码:

<dl class="dl_list4">
        <dt><a href="#"><strong>一号文件锁定三农亮点多</strong></a></dt>
        <dd>
                <p>新世纪以来锁定三农工作的第十个一号文件日前正式发布。文件指出,加快推进征地制度改革,提高农民在土地增值收益中的分配比例,确保被征地农民生活水平有提高、长远生计有保障。 这份文件题为《中共中央国务院关于...<a href="#">[查看全文]</a></p>
        </dd>
</dl>

CSS代码:

.dl_list4{width:400px;height:190px;background:#eeeeee;}
.dl_list4 dt{text-align:center; font-size:20px; padding:20px 0 5px;text-align:center;}
.dl_list4 dt a:visited,.dl_list4 dt a:link{ color:#8fc31f;}
.dl_list4 dt a:hover{ text-decoration:underline;}
.dl_list4 dd{ text-align:left;line-height:24px; margin:0 5px; border-bottom:1px dashed #e7e7e7; padding:0 10px 10px; height:100px;text-indent:2em;}


Warning: Use of undefined constant PRC - assumed 'PRC' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.ijquery.cn/wp-content/themes/d8-3.0/comments.php on line 17
发表我的评论
取消评论
表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址