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

Programmer Humor

32503 readers
536 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@lemmy.world 25 points 1 year ago (2 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?

[–] xigoi@lemmy.sdf.org 20 points 1 year ago

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

[–] Kolanaki@yiffit.net 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.