this post was submitted on 07 Aug 2023
437 points (91.5% liked)

Programmer Humor

32371 readers
545 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
[–] Bye 26 points 1 year ago (3 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?