读书人

请教怎么使在用DIV定位好后浏览器最

发布时间: 2012-09-15 19:09:28 作者: rapoo

请问如何使在用DIV定位好后,浏览器最小化后,这个DIV不走位啊?
请问如何使在用DIV定位好后,浏览器最小化后,这个DIV不走位啊?

HTML code
<html><head><link rel="shortcut icon" href="favicon.ico" /><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>恒源祥香山美术馆</title><style type="text/css">*{ margin:0; padding:0;}html{_overflow:hidden;}body{_height:100%; _overflow-y:auto;}#box1{ width:36px; height:20px; position:fixed;_position:absolute; top:234px; left:400px;}#box2{ width:119px; height:20px; position:fixed;_position:absolute; top:234px; left:500px;}</style>。。。。。。。。。。。。<body><table width="100%" border="0">  <tr>      <td><div align="center">        <img src="snaptwo.jpg" width="823" height="550" border="0" usemap="#Map">            <map name="Map">          <area shape="rect" coords="19,494,231,527" href="hlqy.html">          <area shape="rect" coords="660,273,811,345" href="hlzq2.html">          <area shape="rect" coords="-3,270,152,346" href="hlzq1.htm">        <area shape="rect" coords="98,227,127,277" href="../zp/1.htm">        <!--        <area shape="rect" coords="234,234,279,275" href="../zp/2.html">                -->        <div id="box1">        <img src="image1.JPG">                </div>                <!--        <area shape="rect" coords="697,226,728,276" href="../zp/6.html">        -->        <div id="box2">        <img src="image2.JPG">            </div></body></html>

现在这两个用div嵌套的img当浏览器最小化后,是会悬停在上面,不会跟下面的图片一起走的,如果要用DIV使img标签跟下面图片内容一起走,这样的代码如何实现啊?谢谢了

[解决办法]
如果想不走位,外套个div把它宽什么的都写死了,让它出滚动条,否则你是就像李云龙说的又做乖孩子,有要打胜仗,那是不可能的

读书人网 >ASP

热点推荐