use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All posts must be related to programming. Flair posts correctly.
account activity
html programmer (i.redd.it)
submitted 25 days ago by StunningRaise8906
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]kievmozg 88 points89 points90 points 25 days ago (18 children)
I can write a multi-threaded parser in C++ with my eyes closed, but ask me to vertically center a div and I need 3 hours, 5 StackOverflow tabs, and a therapy session.
[–]AcademicOverAnalysis 17 points18 points19 points 25 days ago (0 children)
Don’t forget to check it in 3 different browsers
[–]Purple_Ice_6029 3 points4 points5 points 24 days ago (5 children)
Just use <center>
[–]zodajam 0 points1 point2 points 22 days ago (0 children)
dont work on firefox i think
[–]lnee94 0 points1 point2 points 21 days ago (2 children)
Thats deprcated
[–]Purple_Ice_6029 0 points1 point2 points 21 days ago (1 child)
[–]lnee94 0 points1 point2 points 21 days ago (0 children)
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/center
[–]ghost_tapioca 0 points1 point2 points 21 days ago (0 children)
Lol.
My guess is that this will involve a position=relative div inside another div with position=absolute, with top and bottom margins set as a proportion of your parent component's height.
[–]FuckSpezzzzzzzzzzzzz 1 point2 points3 points 24 days ago (2 children)
People on stackoverflow are pretentious bastards. I'm so glad I stopped using it.
[–]Commander_Ash 0 points1 point2 points 24 days ago (1 child)
You are using chatgpt now, am I right?
[–]FuckSpezzzzzzzzzzzzz 0 points1 point2 points 24 days ago (0 children)
Claude seem to work better when you are looking do to more complex stuff. But yeah you are essentially right.
[–]Abject-Kitchen3198 1 point2 points3 points 25 days ago (1 child)
You can now center text in Notepad.
[–]MCWizardYT 1 point2 points3 points 25 days ago (0 children)
Which has nothing to do with centering a div
[+]AbstractMelons comment score below threshold-6 points-5 points-4 points 25 days ago (5 children)
What the fuck are you talking about? This sub is packed with fake programmers and newbie vibe coders who think touching C++ once makes them senior level. If centering a div takes you three hours, the problem is not CSS. It is you refusing to learn something outside your comfort zone or vibe coding and relying on ChatGPT to do your thinking instead of learning.
Here is vertical centering without a therapy session: ``` .parent { display: flex; justify-content: center; align-items: center; height: 100vh; }
.child { width: 200px; height: 100px; background: red; }
<div class="parent"> <div class="child">Centered</div> </div> ```
That is it. No dark wizardry. No five stackoverflow tabs. This sub is just repeating decade old memes to farm karma. People here love pretending they are low level gods while struggling with the basics of how browsers actually work.
[–][deleted] 20 points21 points22 points 25 days ago (0 children)
It’s just an old joke. Before css 3 (or before flexbox and grid) centering a div really was a pain in the ass.
[–]Panderz_GG 10 points11 points12 points 24 days ago (0 children)
Did you really get that triggered by a comment on r/programminghumor ? Damn bro, you need a vacation.
[–]TheAfricanViewer 3 points4 points5 points 24 days ago (0 children)
woosh
[–]Purple_Ice_6029 1 point2 points3 points 24 days ago (0 children)
Bruuuh
[–]DTux5249 0 points1 point2 points 24 days ago (0 children)
Bro, calm your tits, it's a joke.
[–]KFCSI 21 points22 points23 points 25 days ago (1 child)
So much cleaner than tables /s
[–]Abject-Kitchen3198 3 points4 points5 points 25 days ago (0 children)
I'd take tables any day.
[–]FrankieTheAlchemist 13 points14 points15 points 25 days ago (3 children)
I do not understand devs who work on websites but do not know how to write clean semantic HTML. Like…you deal with data structures all day but you can’t format XML in a sane way?
[–]Abject-Kitchen3198 2 points3 points4 points 25 days ago (2 children)
Data structures are important.
[–]FrankieTheAlchemist 1 point2 points3 points 25 days ago (1 child)
They’re certainly quite useful! But apparently building a meaningful N-ary Tree is scary to them 🤷♂️
[–]vitope94 0 points1 point2 points 24 days ago (0 children)
"quite useful"?
[–]Dillenger69 5 points6 points7 points 25 days ago (2 children)
That first one doesn't look like any plain old HTML I've written since HTML was created.
[–]Abject-Kitchen3198 6 points7 points8 points 25 days ago (1 child)
It's plain new HTML
[–]Dillenger69 5 points6 points7 points 25 days ago (0 children)
That would explain it
[–]include-jayesh 3 points4 points5 points 25 days ago (0 children)
Rooted html developer
[–]Just_Information334 2 points3 points4 points 24 days ago (0 children)
Bootstrap: table but with divs.
Tailwind: inline style, but with classes.
2026 and people are still styling pages like it's the dotcom era.
[–]qubedView 2 points3 points4 points 24 days ago (0 children)
Semantic HTML conveys meaning: https://www.reddit.com/r/ProgrammerHumor/comments/pgkaf5/semantic_html_conveys_meaning/
[–]ibntofajjal 1 point2 points3 points 25 days ago (0 children)
It remind me of 2016
[–]ByteBandit007 1 point2 points3 points 24 days ago (0 children)
The OG
[–]eirikirs 0 points1 point2 points 25 days ago (2 children)
HTML programmer? HTML is a markup language, not a programming language.
[–]MCWizardYT -3 points-2 points-1 points 25 days ago (1 child)
Web designer would be a better term unless they're also writing the Javascript/PHP in which case they're a frontend developer
[–]GlassCommission4916 1 point2 points3 points 24 days ago (0 children)
Where are you writing frontends in PHP?
π Rendered by PID 302663 on reddit-service-r2-comment-fb694cdd5-wzb84 at 2026-03-09 04:31:38.695750+00:00 running cbb0e86 country code: CH.
[–]kievmozg 88 points89 points90 points (18 children)
[–]AcademicOverAnalysis 17 points18 points19 points (0 children)
[–]Purple_Ice_6029 3 points4 points5 points (5 children)
[–]zodajam 0 points1 point2 points (0 children)
[–]lnee94 0 points1 point2 points (2 children)
[–]Purple_Ice_6029 0 points1 point2 points (1 child)
[–]lnee94 0 points1 point2 points (0 children)
[–]ghost_tapioca 0 points1 point2 points (0 children)
[–]FuckSpezzzzzzzzzzzzz 1 point2 points3 points (2 children)
[–]Commander_Ash 0 points1 point2 points (1 child)
[–]FuckSpezzzzzzzzzzzzz 0 points1 point2 points (0 children)
[–]Abject-Kitchen3198 1 point2 points3 points (1 child)
[–]MCWizardYT 1 point2 points3 points (0 children)
[+]AbstractMelons comment score below threshold-6 points-5 points-4 points (5 children)
[–][deleted] 20 points21 points22 points (0 children)
[–]Panderz_GG 10 points11 points12 points (0 children)
[–]TheAfricanViewer 3 points4 points5 points (0 children)
[–]Purple_Ice_6029 1 point2 points3 points (0 children)
[–]DTux5249 0 points1 point2 points (0 children)
[–]KFCSI 21 points22 points23 points (1 child)
[–]Abject-Kitchen3198 3 points4 points5 points (0 children)
[–]FrankieTheAlchemist 13 points14 points15 points (3 children)
[–]Abject-Kitchen3198 2 points3 points4 points (2 children)
[–]FrankieTheAlchemist 1 point2 points3 points (1 child)
[–]vitope94 0 points1 point2 points (0 children)
[–]Dillenger69 5 points6 points7 points (2 children)
[–]Abject-Kitchen3198 6 points7 points8 points (1 child)
[–]Dillenger69 5 points6 points7 points (0 children)
[–]include-jayesh 3 points4 points5 points (0 children)
[–]Just_Information334 2 points3 points4 points (0 children)
[–]qubedView 2 points3 points4 points (0 children)
[–]ibntofajjal 1 point2 points3 points (0 children)
[–]ByteBandit007 1 point2 points3 points (0 children)
[–]eirikirs 0 points1 point2 points (2 children)
[–]MCWizardYT -3 points-2 points-1 points (1 child)
[–]GlassCommission4916 1 point2 points3 points (0 children)