Hacker News new | ask | show | jobs
by zuxfer 3638 days ago
And here I am, trying for past 10 years to centre align a div, both horizontally and vertically.
5 comments

You probably already know this but just in case: https://philipwalton.github.io/solved-by-flexbox/demos/verti...
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/
That joke is too old, there are new things to mock CSS over these days.
You took the words right out of my mouth(fingers). Was just thinking the exact same thing
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.