用div模拟窗体

不知为什么在firefox下显示不正常,而在IE下可以显示。

<div id="pop" style="border:1px solid #CCC; background-color:White;padding:3px;width:200px ">
<div style="background-color:#336699;cursor:default; width:100%;float: left;">
<div style="padding-left:3px;color:White; float:left; border-width:0px;">查询</div>
<div class="pdtRight" style="width:12px;border-width:0px; color:White;font-family:webdings; float: right;cursor:pointer;">r</div>
</div>
<div>
测试
</div>
</div>

提示:你可以先修改部分代码再运行。

标签:css, html, javascript

相关日志

如何让页面关闭时,不弹出提示框 (0)
javascript中目录的表示方式 (0)
用jquery解析xml (0)

Also tagged ,