.pixel{ position:relative; float:left; border:1px solid #111; width:33px; height:33px; background-image:url("../img/2_grid.jpg"); background-color:transparent; background-repeat:no-repeat; } #pixel_blocks{ height:350px; width:560px; }