Home › Forums › CSS › Distribute elements horizontally › Reply To: Distribute elements horizontally
September 4, 2013 at 1:04 pm
#149045
basement31
Participant
If I understand your question try
.container-1, .container-2 { float: left }
http://www.w3schools.com/css/css_float.asp
Mainstream, as in widely supported markup and styling is basically derived from print, think of a newspaper, a floated element would be the image and the text would wrap around it, since then css has basically abused and manipulated these layout rules beyond recognition so it may seam very weird how/why some things are done.