div#box-1 .codice{ position: static; margin:10px; border:2px solid #900; padding:0.2em; width:100px; background-color:#eee; color: #900; } div#box-2{ position: relative; float:left; margin:10px; border:2px solid #900; padding:0.2em; width:100px; background-color:#eee; color: #900; } div#box-3{ position: relative; float:left; margin:10px; border:2px solid #900; padding:0.2em; width:100px; background-color:#eee; color: #900; } div#box-4{ position: relative; clear:left; margin:10px; border:2px solid #900; padding:0.2em; width:100px; background-color:#eee; color: #900; }