body { margin:0; } ul { margin:0; padding:0; width:330px; margin:100px auto 0; position:relative; } li { width:100px; height:100px; background:red; float:left; list-style:none; margin:10px 0 0 10px; }