|
 
- 帖子
- 2982
- 积分
- 2603
- 威望
- 0
- 金币
- 145 个
- 体力
- 2996
- 注册时间
- 2005-4-8
|
同行一边居左 一边居右 div
原代码 - 显示为 内容A靠右<div class="main" style="font-size: 12px; text-align: right; font-weight:bold;">内容A</div> 想把它增加右边一个内容 - 显示为 内容A靠左,内容B靠右<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><br></div> 第一个代码是DIV,而第2个代码是table .
怎么将第一个效果,用DIV表达出来呢
[ 本帖最后由 easonlee 于 2006-9-24 14:59 编辑 ] |
|