html - float:left problem -
i have 3 div in page. named blok1, blok2 , blok3.
i'm adding {float:left;} blok1 div getting result:
i want result.
try this:
<style type="text/css"> #wrap div { border: 1px solid #000; float: left; margin: 5px; padding: 5px; } #div3 { clear: left; } </style> <div id="wrap"> <div id="div1">div1</div> <div id="div2">div2</div> <div id="div3">div3</div> </div>
Comments
Post a Comment