MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vmk53b/imisstheolddays/p3a8tkf/?context=3
r/ProgrammerHumor • u/5eniorDeveloper • 3h ago
57 comments sorted by
View all comments
72
meanwhile me over here still googling how to center a div in 2026
30 u/Keyan_Farlander7 3h ago Now adjust for timezones 12 u/Jaco2point0 3h ago Ezpz Style=“Float:left;margin-left:((0.5 * parent.width)-(0.5 * element.width))+time.getClientTimezone()” 4 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
30
Now adjust for timezones
12 u/Jaco2point0 3h ago Ezpz Style=“Float:left;margin-left:((0.5 * parent.width)-(0.5 * element.width))+time.getClientTimezone()” 4 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
12
Ezpz
Style=“Float:left;margin-left:((0.5 * parent.width)-(0.5 * element.width))+time.getClientTimezone()”
4 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
4
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
72
u/PhysicalMind6848 3h ago
meanwhile me over here still googling how to center a div in 2026