Please tell me how to write the CSS for this_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:14:13
Original
1039 people have browsed it

Hello everyone, there is something that is causing problems no matter how I change it. . Depressed
I want to change it to DIV CSS simplified code
I sincerely ask for advice



is an article list column,
Each horizontal row is composed of small icons (incon. gif) consists of three parts: article title and date.





<DIV STYLE='height: 21px;text-align: left;'><SPAN STYLE='width: 240px;padding-left: 8px;'><IMG SRC='Skins/incon.gif'> <A HREF='News.asp?Id=107 >今天的新闻第一条 </A></SPAN><SPAN STYLE='color:#999999;'>2012-08-02</A></SPAN></DIV><DIV CLASS='type-height2'></DIV><DIV STYLE='height: 21px;text-align: left;'><SPAN STYLE='width: 240px;padding-left: 8px;'><IMG SRC='Skins/incon.gif'><A HREF='News.asp?Id=106> 今天的新闻第二条 </A></SPAN><SPAN STYLE='color:#999999;'>2009-08-02</A></SPAN></DIV><DIV CLASS='type-height2'></DIV>.。。
Copy after login



Could you please tell me how to change it better
Thank you Thank you!


Reply to discussion (solution)


<style>._div{height: 21px;text-align: left;}._span{width: 240px;padding-left: 8px;}._span_date{color:#999999;}</style><DIV class="_div"><SPAN  class="_span"><IMG SRC='Skins/incon.gif'> <A HREF='News.asp?Id=107 >今天的新闻第一条 </A></SPAN><SPAN class="._span_date">2012-08-02</A></SPAN></DIV><DIV CLASS='type-height2'></DIV><DIV class="_div"><SPAN class="_span"><IMG SRC='Skins/incon.gif'><A HREF='News.asp?Id=106> 今天的新闻第二条 </A></SPAN><SPAN class="._span_date">2009-08-02</A></SPAN></DIV><DIV CLASS='type-height2'></DIV>.。。
Copy after login

HTML code






求教啊,这个的CSS该怎么写啊
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!