Forums

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

Home Forums CSS CSS alignment without using tables Reply To: CSS alignment without using tables

#242691
Paulie_D
Member

vertical-align doesn’t work on floated elements…nor should float be used as the same time as display:inline…they’re mutually exclusive.

If you remove the float and use display:inline-block then vertical-align works.

http://codepen.io/Paulie-D/pen/NrxGwd

Re: the previous post, it’s considered bad practice to use br tags for spacing…that’s what margins and padding are for.