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

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

WBOY
WBOYOriginal
2016-06-21 09:43:131239browse

    <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>

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


回复讨论(解决方案)

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

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

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