已解决问题
谷歌6d1d7i9o1用户在2013.10.30提交了关于“楚氏春秋如何将两个div并列排在同一行”的提问,欢迎大家涌跃发表自己的观点。目前共有1个回答,最后更新于2024-09-18T00:25:50。这是两个div的CSS:#left{
width:131px;
height:311px;
position:relative;
left:3**x;
top:21**x;
}
#biaodan{
width:340px;
height:222px;
position:relative;
left:322px;
top:21**x;
float:inherit;
}
这是div:
<divid="login">
<divid="left">
<tablecellpadding="0"cellspacing="0"border="0;">
<tr>
<td><imgsrc="images/login3_r4_c2.gif"/></td>
</tr>
<tr>
<td><imgsrc="images/login3_r5_c2.gif"/></td>
</tr>
<tr>
<td><imgsrc="images/login3_r6_c2.gif"/></td>
</tr>
</table>
</div>
<divid="biaodan">
<tablewidth="340"height="222"class="shuru"border="1"cellpadding="0"cellspacing="0">
<tr>
<td>Email地址</td>
<td><inputtype="text"id="search_1"class="search_box"/></td>
</tr>
<tr>
<td>登陆密码</td>
<td><inputtype="text"id="search_2"class="search_box"/></td>
</tr>
<tr>
<td>确认密码</td>
<td><inputtype="text"id="search_3"class="search_box"/></td>
</tr>
<tr>
<td>验码</td>
<td><inputtype="text"id="search_4"class="search_box"/></td>
</tr>
</table>
</div>
</div>希望大家能够帮助她。
详细问题描述及疑问:这是两个div的CSS:
#left{
width:131px;
height:311px;
position:relative;
left:3**x;
top:21**x;
}
#biaodan{
width:340px;
height:222px;
position:relative;
left:322px;
top:21**x;
float:inherit;
}
这是div:
<divid="login">
<divid="left">
<tablecellpadding="0"cellspacing="0"border="0;">
<tr>
<td><imgsrc="images/login3_r4_c2.gif"/></td>
</tr>
<tr>
<td><imgsrc="images/login3_r5_c2.gif"/></td>
</tr>
<tr>
<td><imgsrc="images/login3_r6_c2.gif"/></td>
</tr>
</table>
</div>
<divid="biaodan">
<tablewidth="340"height="222"class="shuru"border="1"cellpadding="0"cellspacing="0">
<tr>
<td>Email地址</td>
<td><inputtype="text"id="search_1"class="search_box"/></td>
</tr>
<tr>
<td>登陆密码</td>
<td><inputtype="text"id="search_2"class="search_box"/></td>
</tr>
<tr>
<td>确认密码</td>
<td><inputtype="text"id="search_3"class="search_box"/></td>
</tr>
<tr>
<td>验码</td>
<td><inputtype="text"id="search_4"class="search_box"/></td>
</tr>
</table>
</div>
</div>期待您的答案,没有什么华丽的语言,但是我对你的感谢不会减少
!