Archive for the ‘vertical-align’ Category

Vertical align this!

Tuesday, June 20th, 2006

I only just realised today that the vertical-align CSS property can take integers and not just enums. Up till now I had only been using middle, top, bottom etc. as valid values. Now I realise you can use -3px or whatever value you need. Handy.