css定位!如何将两个表格并排排列!

html-css014

css定位!如何将两个表格并排排列!,第1张

为什么不能并排排列

<div style="float:left"><table><tr><td>111</td></tr></table></div>

<div style="float:left"><table><tr><td>222</td></tr></table></div>

就OK了

你说的太模糊。我的意思是把表格用DIV包住。然后就可以定位了。任何插入都可以这样做

应该是 DE系统.不清楚你的CSS是什么结构的,简单 使用表格实现: <table width="960" border="0">

<tr>

<td>热门搜索:</span> {dede:hotwords num='10' subday='30'/}</td>

<td><form action="/plus/search.php" method="post" name="searchform" id="searchform">

<div class="search_input"><input name="keyboard" type="text" size="32" id="keyboard" onFocus="this.value=''" value="输入您要查找的内容" /><input type="hidden" name="show" value="title" />

<input type="hidden" name="tempid" value="1" />

</div>

<button class="search_button" type="submit" name="Submit22"></button>

</form></td>

</tr>

</table>自己参考结合CSS改下.<table width="960" border="0">

<tr>

<td>1111111111</td>

<td>2222222222</td>

</tr>

</table>