this post was submitted on 07 Aug 2023
467 points (91.9% liked)

Programmer Humor

32716 readers
310 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 25 points 1 year ago (4 children)

I don’t do web dev, I write math software that makes very rich people richer. But I often hear of this centering and layout crap

Why doesn’t html just have hcenter and vcenter tags or something? Why is centering so hard?

[–] [email protected] 20 points 1 year ago

HTML has moved on from non-semantic tags a long time ago, and centering is easy with modern CSS.

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago)

Since when does HTML not have a simple centering tag?

Edit: Since HTML5 apparently. Wow wtf?! I haven't actually used HTML since I was in high school. That's wild.

[–] [email protected] 2 points 1 year ago

As a frontend dev: who knows?

[–] Huschke 1 points 1 year ago

Centering stuff hasn't been hard for ages. The memes just haven't cought up yet.