在做live search的时候想把它分为两部分内容-内容A靠左,内容B靠右。
[code]<table cellspacing="0" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center" style="table-layout: fixed">
<tr><td class="nav" width="50%" align="left" nowrap>内容A</td>
<td align="right" width="50%">内容B</td>
</tr></table>[/code]
用DIV来实现:
[code]<div style="float:left;">内容A</div><div style="float:right;">内容B</div>[/code]
代码还真是简洁啊```
文章转自:[url]http://www.discuz.net/thread-409746-1-13.html[/url]
[code]<table cellspacing="0" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center" style="table-layout: fixed">
<tr><td class="nav" width="50%" align="left" nowrap>内容A</td>
<td align="right" width="50%">内容B</td>
</tr></table>[/code]
用DIV来实现:
[code]<div style="float:left;">内容A</div><div style="float:right;">内容B</div>[/code]
代码还真是简洁啊```
文章转自:[url]http://www.discuz.net/thread-409746-1-13.html[/url]