Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Distribute elements horizontally Reply To: Distribute elements horizontally

#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.