Forums

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

Home Forums CSS Browser support for using margin left/right to align left or right Reply To: Browser support for using margin left/right to align left or right

#239831
Paulie_D
Member

As a single element on a row sure…but put another element on the same row and you see why floats are usually used.

https://jsfiddle.net/ggqymnes/

These days, I’d use flexbox where it does make sense to use margin-x:auto

https://jsfiddle.net/rukpv5gh/