html - float:left problem -


i have 3 div in page. named blok1, blok2 , blok3.

i'm adding {float:left;} blok1 div getting result:

screenshot link

i want result.

screenshot link2

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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -