html5 - Error with Alligning Divs -


how make 4 of 'row' classes line right next each other? i'm having lot of trouble this... formatting , spacing gets extremely strange when edit of margins.

http://jsfiddle.net/busterroni/wbcwc/

.rowone{ height:100px; width:100px; background-color:blue; }  .rowtwo{   position:relative; margin-bottom:500px; margin-left:100px; margin-top:-500px; height:100px; width:100px; background-color:green; }  .rowthree{   position:relative; margin-bottom:0px; margin-left:200px; margin-top:px; height:100px; width:100px; background-color:yellow; }  .rowfour{   position:relative; margin-bottom:0px; margin-left:200px; margin-top:px; height:100px; width:100px; background-color:orange; }  .rowfive{   position:relative; margin-bottom:0px; margin-left:200px; margin-top:px; height:100px; width:100px; background-color:red; }  div { background-color:transparent; position: relative; width: 100px; height:100px; } div:hover { -webkit-transition: .5s ease-in-out; -moz-transition: .5s ease-in-out; -ms-transition: .5s ease-in-out; -o-transition: .5s ease-in-out; transition: .5s ease-in-out; background-color:blue; } 


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -