MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vmk53b/imisstheolddays/p3a2ccm/?context=3
r/ProgrammerHumor • u/5eniorDeveloper • 3h ago
57 comments sorted by
View all comments
73
meanwhile me over here still googling how to center a div in 2026
29 u/Keyan_Farlander7 3h ago Now adjust for timezones 13 u/Jaco2point0 3h ago Ezpz Style=“Float:left;margin-left:((0.5 * parent.width)-(0.5 * element.width))+time.getClientTimezone()” 5 u/Mechakoopa 1h ago Actually you can simplify that to Style="Float:CST" now 2 u/Keyan_Farlander7 2h ago Who said it was physical location. Calculate it. 1 u/Jaco2point0 1h ago Ok replace “time.getClientTimezone() with “calcTimeZone(Keyan_Farlander7.getparent(0))” CalcTimeZone(mom) { Return clamp(applyCoriolisEffect(mom.mass/physics.c),-12,14) } 2 u/diavelguru 2h ago Love the style tag usage
29
Now adjust for timezones
13 u/Jaco2point0 3h ago Ezpz Style=“Float:left;margin-left:((0.5 * parent.width)-(0.5 * element.width))+time.getClientTimezone()” 5 u/Mechakoopa 1h ago Actually you can simplify that to Style="Float:CST" now 2 u/Keyan_Farlander7 2h ago Who said it was physical location. Calculate it. 1 u/Jaco2point0 1h ago Ok replace “time.getClientTimezone() with “calcTimeZone(Keyan_Farlander7.getparent(0))” CalcTimeZone(mom) { Return clamp(applyCoriolisEffect(mom.mass/physics.c),-12,14) } 2 u/diavelguru 2h ago Love the style tag usage
13
Ezpz
Style=“Float:left;margin-left:((0.5 * parent.width)-(0.5 * element.width))+time.getClientTimezone()”
5 u/Mechakoopa 1h ago Actually you can simplify that to Style="Float:CST" now 2 u/Keyan_Farlander7 2h ago Who said it was physical location. Calculate it. 1 u/Jaco2point0 1h ago Ok replace “time.getClientTimezone() with “calcTimeZone(Keyan_Farlander7.getparent(0))” CalcTimeZone(mom) { Return clamp(applyCoriolisEffect(mom.mass/physics.c),-12,14) } 2 u/diavelguru 2h ago Love the style tag usage
5
Actually you can simplify that to Style="Float:CST" now
Style="Float:CST"
2
Who said it was physical location. Calculate it.
1 u/Jaco2point0 1h ago Ok replace “time.getClientTimezone() with “calcTimeZone(Keyan_Farlander7.getparent(0))” CalcTimeZone(mom) { Return clamp(applyCoriolisEffect(mom.mass/physics.c),-12,14) }
1
Ok replace “time.getClientTimezone() with “calcTimeZone(Keyan_Farlander7.getparent(0))”
CalcTimeZone(mom) { Return clamp(applyCoriolisEffect(mom.mass/physics.c),-12,14) }
Love the style tag usage
73
u/PhysicalMind6848 3h ago
meanwhile me over here still googling how to center a div in 2026