Live data from Hacker News

8 CSS gotchas to start your morning off right (satire)

medium.com

1–10 of 38 posts

Re: 8 CSS gotchas to start your morning off right (satire)

#3
post #2

The one about vertical-align seems wrong. I use it all the time when aligning text next to images and that has nothing to do with tables afaik. https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-al...

Yeah...I wouldn't say that "accuracy" was one of the main goals of this post per se.

Re: 8 CSS gotchas to start your morning off right (satire)

#6
post #4

Can't say I agree with this article - I don't really run into CSS gotchas too often anymore. This just reads like a massive complaint-fest TBH.

That's pretty much what it is. I guess my artistic goals have been accomplished, so I'll go home now

Re: 8 CSS gotchas to start your morning off right (satire)

#8
I was reading the first few and thinking "No... No... Hrmmm... this seems really misinformed" before it dawned on me around point 5 that the whole thing is satire.

It eases you into the realisation nice and slowly. I'm guessing given the penchant for people to comment based purely on titles, some won't even get that far.

Re: 8 CSS gotchas to start your morning off right (satire)

#9
post #8

I was reading the first few and thinking "No... No... Hrmmm... this seems really misinformed" before it dawned on me around point 5 that the whole thing is satire. It eases you into the realisation nice and slowly. I'm guessing given the penchant for people to comment based purely on titles, some won't even get that far.

Excellent, that's exactly the effect I was going for. My posts have about a 75% abandonment rate, though, so most of the people who hit the post probably won't stick around long enough to get the joke. Oh well.

Re: 8 CSS gotchas to start your morning off right (satire)

#10
post #2

The one about vertical-align seems wrong. I use it all the time when aligning text next to images and that has nothing to do with tables afaik. https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-al...

Vertical align needs to be in a table cell.

Although most of the article is satire, vertical align has a lot to do with tables. Centering only works in table-cell elements. Take a look at the code http://howtocenterincss.com/#contentType=text&horizontal=cen...

Or, one of the references mozilla links to there is: http://phrogz.net/css/vertical-align/index.html

Post reply on HN