horizontal mages with float:left step align
-
I floated images left in a div within a page and for some reason they step and do not line up horizontally. Like below:
image
……….image2
…………………image3
…………………………..image4Instead they should be like so:
image image2 image3 image4
This is my code:
.cimages { display:inline-block; float:left; background:rgb(252,252,252); height:106px; width:801px; } .cimages img { width:92px; height:92px; float:left; margin:7px 14px; border:rgb(129,129,129) 2px solid; background:#fff; border-radius:7px; }
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘horizontal mages with float:left step align’ is closed to new replies.