remove margin-left for new line boxes css - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:Box

Description

remove margin-left for new line boxes css

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <title>Lore</title> 
 </head> <!-- w w w  .j av  a 2 s .c  o  m-->
 <body> 
  <div style="width: 200px; height: 200px; background-color: green; margin-right:10px;float: left;">
    Lorem 
  </div> 
  <div style="width: 200px; height: 200px; background-color: green; margin-right:10px; float: left;">
    Lorem 
  </div> 
  <div style="width: 200px; height: 200px; background-color: green; margin-right:10px; float: left;">
    Lorem 
  </div> 
  <div style="width: 200px; height: 200px; background-color: green; margin-right:10px; float: left;">
    Lorem 
  </div> 
  <div style="width: 200px; height: 200px; background-color: green; margin-right:10px; float: left;">
    Lorem 
  </div> 
  <div style="width: 200px; height: 200px; background-color: green; margin-right:10px; float: left;">
    Lorem 
  </div>  
 </body>
</html>

Related Tutorials