Home > Web Front-end > HTML Tutorial > 怎么将表格UL LI平放_html/css_WEB-ITnose

怎么将表格UL LI平放_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:43:13
Original
1365 people have browsed it

    <div id="f2">      <ul><table width="200" border="1">  <tr>    <td>       <a href="www.baidu.com"><img  src="123.png" / alt="怎么将表格UL LI平放_html/css_WEB-ITnose" > </a>   </td>  </tr>  <tr>    <td> <a href="www.baidu.com"></a></td>  </tr>  <tr>    <td><%#Eval()%></td>  </tr></table></li></ul></div>
Copy after login

像这样的li有几个一样的,怎么样让它们平放呢,CSS咋写。


回复讨论(解决方案)

参考下http://www.w3school.com.cn/css/css_positioning_floating.asp

#f2 ul li{float:left;display:inline;width:200px;}
Copy after login

Related labels:
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