The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Line height align middle what am I missing?
Hi all I have 2 floated divs with a padding of 5px and box-sizing: border-box;
Inside each one I have an image that is 25px tall so I have set the line-height to be 25px and vertical-align: top so the text should then align middle of the flags.
It is but it is extending the height of the div that it is in.
I was wondering what I’m missing: http://plnkr.co/edit/tqVw3YLFfHfkMxVVwTUb