Home › Forums › CSS › CSS alignment without using tables › Reply To: CSS alignment without using tables
June 8, 2016 at 11:05 pm
#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.