懂HTML的进.请教个问题.

来源:百度知道 编辑:UC知道 时间:2024/06/06 12:12:32
我在一个PW7.0的论坛.用HTML发个活动帖.
在预览里是好的.为什么发了帖子.整个框架就跑到右边去了?
就是本来应该在中间的.跑到右边了.
代码如下.希望懂的帮我解答下.或者告诉我这段代码每个值的意思
<td class="td2 p14 cBlack" style="BACKGROUND: url(ue/tie_content.gif)" valign="top">
<div style="MIN-HEIGHT: 220px! important; OVERFLOW: hidden; WIDTH: 602px; HEIGHT: 1376px">
<table borderColor=#09c7f7 cellSpacing=6 cellPadding=3 width=600 background=www.XXX.com/gif border=7><BR>
<tr>
<td>
</td>
</tr>
</table>

! important;

取了,不要

<table>
<tr>
<td class="td2 p14 cBlack" style="BACKGROUND: url(ue/tie_content.gif)" valign="top">
<div style="MIN-HEIGHT: 220px! important; OVERFLOW: hidden; WIDTH: 602px; HEIGHT: 1376px">
<table borderColor=#09c7f7 cellSpacing=6 cellPadding=3 width=600 background=www.XXX.com/gif border=7>
<tr>
<td> </td>
</tr>
</table>
</div>
</td>
</tr>
</table>

说明:
1:代码编写要规范,标签有开始也要有结束(导致走位的可能原因):
2:class="td2 p14 cBlack" 这些CSS样式表也可能导致定位