this post was submitted on 22 Dec 2025
257 points (96.1% liked)
Programmer Humor
27983 readers
531 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Centering a div is pretty fucking easy nowadays. What’s way harder is aligning a god damned SVG icon with text.
Even that is pretty easy nowadays with modern CSS:
Yeah. Easy. So easy. Text size changes, svg not centered anymore. Add margin (or whatever that inside margin is called), and tada, not centered.
padding
At the risk of getting flamed - I wonder if because CSS is a design tool not a programming tool, it will seem unintuitive to people from a technical background, but more intuitive to people from a design/arts background
Exactly this ^
When we had "backend" people at my shop, they were god awful at css. It was so bad at one point that I scolded any backend person who touched css because they always fucked shit up if they did.
I fuck up CSS on purpose whenever possible to reduce the likelihood of anyone letting me near it.
Maybe you used to work with me? haha
I think you're right. CSS was more understandable to me after reading that it came from the world of print media. It's how things were laid out there and it was transformed into a language from those with domain knowledge.
But I would be curious if those who studied art also use the same terminology. If so, then it would make sense that it would seem more intuitive to them.
No
I'm confused - it's the only non-semantic standard html container. Ofc it's bad if you're trying to communicate intent, but if it's just for minor layout tweaks, anything else would mess with the document structure. Find me one sufficiently complex website that doesn't use divs lol
I actually nest everything in
<p>s