this post was submitted on 07 Aug 2023
321 points (91.7% liked)

Programmer Humor

32455 readers
761 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 18 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?

[–] xigoi@lemmy.sdf.org 14 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.

[–] lorty@lemmygrad.ml 2 points 1 year ago

As a frontend dev: who knows?