第1个回答 2015-12-27
Dreamweaver中DIV定位方式如下:
这是让div随body居中,调好了在任何浏览器都不会变的
<div id="aaaaaaaaa1" class="x-panel x-panel-noborder" style="width: 598px; left: 10px; top: 10px;">
<table width="500" height="1000" border="1">
</table>
<div id="ext-gen22" class="x-panel-bwrap">
<div id="ext-gen23" class="x-panel-body x-panel-body-noheader x-panel-body-noborder" style="width: 598px; height: 283px;"/>
</div>
</div>
还有一种是定位:position