top | item 12035938

(no title)

zuxfer | 9 years ago

And here I am, trying for past 10 years to centre align a div, both horizontally and vertically.

discuss

order

afarrell|9 years ago

Yea, I share your pain. However, for this specific problem, you are best off using flexbox because there is a good tutorial for it: http://flexboxfroggy.com/

talmand|9 years ago

That joke is too old, there are new things to mock CSS over these days.

mungoid|9 years ago

You took the words right out of my mouth(fingers). Was just thinking the exact same thing

rimantas|9 years ago

How about learning some CSS? This "joke" should really be retired by now. I've been doing this stuff 10+ years ago when stills supporting IE5, for fucks sake.