html - Positioning Div horizontally -


im trying position 3 div block horizontally 3 block positions on new line. when resizing them not move.

.left1 {      padding: 9px;      border: 1px solid #e7e7e7;      float: left;      margin-right: 40px;      text-align: center; } .left2 {      padding: 9px;      border: 1px solid #e7e7e7;      float: left;      margin-right: 40px; } .right1 {     padding: 9px;     border: 1px solid #e7e7e7;     float: left;     margin-right: 40px; } 

rest of code

http://jsfiddle.net/ewur8/

the boxes wide container. recreated here using 3 blocks , works fine. reduce container width.

http://jsfiddle.net/zy4cn/

.block1,.block2,.block3{     float:left;     padding: 9px;     border: 1px solid #e7e7e7;     float: left;     margin-right: 40px; } .nomarg{margin-right:0!important;} 

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -