PDA

View Full Version : Just need some help with the div



spade
18 Jun 2010, 02:40 PM
I'm new hear & i just have simple problem

[html
<body>
<div style="border:solid 1px #000000; width:1000px; height:600px;" >
<div style="border:solid 1px #000000; width:500px; height:400px; float:left; "> 00
<div style="border:solid 1px #00FF00; width:100px; height:50px; float:left;">11 </div>
<div style="border:solid 1px #FF0000; width:100px; height:50px; float:left; clear:left;">22 </div>
<div style="border:solid 1px #00FF00; width:100px; height:50px; clear:left;">33 </div>
<div style="clear:both;" ></div>
<div style="border:solid 1px #FF0000; width:100px; height:50px; ">44 </div>
</div>
<div style="border:solid 1px #00FF00; width:494px; height:400px; float:right; position:static;">001100 </div>
</div>
</body>
[/html]
this is a simple code just run it in Firefox(3.6) & zoom out div on the right with green border will change its position ...... i don't want this to happen please help

thanx in advance :)