this post was submitted on 22 Dec 2025
282 points (96.1% liked)

Programmer Humor

28027 readers
1201 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

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] TrickDacy@lemmy.world 25 points 3 days ago (4 children)

Do people who talk this kind of shit about css really not understand they're just admitting they're not good at css?

[–] Witchfire@lemmy.world 3 points 1 day ago* (last edited 1 day ago) (1 children)

Same with people who complain endlessly about JS/TS letting you add a string to an object. I work with this shit daily, these are literally the least of my problems.

[–] TrickDacy@lemmy.world 1 points 1 day ago

Totally agree.

[–] cbazero@programming.dev 19 points 3 days ago (2 children)

If you need to be good at a layout language to center something, then maybe the layout language sucks.

[–] irelephant@programming.dev 4 points 2 days ago (2 children)

You literally just have to give it a width and add margin: 0 auto;

[–] humorlessrepost@lemmy.world 3 points 1 day ago* (last edited 1 day ago)

I think it’s implied they’re talking about centering both horizontally and vertically. And probably with unknown height.

Still easy these days , though.

[–] Witchfire@lemmy.world 2 points 1 day ago* (last edited 1 day ago) (1 children)

Or use Flexbox

But your solution works as well for simple cases

[–] irelephant@programming.dev 1 points 10 hours ago

I generally avoid flex for simple stuff (i like weird browsers), but for more complex layouts it should certainly be used.

[–] TrickDacy@lemmy.world 9 points 3 days ago

What it says is zero knowledge on the part of the whiner.

[–] Quibblekrust@thelemmy.club 3 points 2 days ago (1 children)

I'm not good at programming Brainfuck, either.

[–] TrickDacy@lemmy.world 0 points 2 days ago (1 children)

You probably haven't put any effort into learning either language. I find that people who whine about css to normally be backend programmers who are really terrible at design and want a scapegoat to blame.

[–] Quibblekrust@thelemmy.club 1 points 1 day ago (1 children)

You have a real fuckin' hard-on for CSS, don't ya?

[–] TrickDacy@lemmy.world 0 points 1 day ago (1 children)

I have side eye for those with hate boners for it

[–] Quibblekrust@thelemmy.club 1 points 1 day ago (1 children)

You think my joke was a "hate boner"? You need to smoke grass or touch weed or something.

[–] TrickDacy@lemmy.world 0 points 1 day ago (1 children)

I think you are misunderstanding a lot here

[–] Quibblekrust@thelemmy.club 1 points 23 hours ago (1 children)
[–] TrickDacy@lemmy.world 0 points 19 hours ago (1 children)

I don't know why you replied to me in the first place (besides being a css whiner) and it just keeps getting more baffling the more you keep replying. You seem to be incredibly bored. I'd suggest a better hobby

[–] Quibblekrust@thelemmy.club 1 points 11 hours ago (1 children)

Sorry, I already said "touch grass". You can't come back with a comment like that. It's much too late.

[–] Whelks_chance@lemmy.world 16 points 3 days ago (1 children)

If it were designed properly you wouldn't need to be good at it, it would be trivial and obvious to do the only thing anyone ever needs to do to their content within an area of the page

[–] TrickDacy@lemmy.world 31 points 3 days ago* (last edited 3 days ago) (2 children)

Good news: centering a div is insanely easy to do and has been for like 15 years.

[–] Windex007@lemmy.world 17 points 3 days ago (1 children)

You probably didn't expect that comment to make me feel so old.

[–] TrickDacy@lemmy.world 2 points 3 days ago

Haha, sorry bout that. If it makes you feel any better, I felt pretty old about writing it too!

[–] GenderNeutralBro 4 points 3 days ago (1 children)

The last time I did any html/css work was about 15 years ago. Now I'm curious what's changed.

[–] myotheraccount@lemmy.world 7 points 3 days ago

flex box, grid layout, and a million other things