Re:We finally learned to center a div, then browsers added s...
by hinkley on Wednesday August 05, 2026 @05:09PM
(#49189047)
You can also get layout glitches if you screw up your math where the scroll bar disappears and reappears in a tight loop. This is a dodge for that. The viewport doesn’t resize when the content gets longer and you either run never into > 1024 || > 1024, or you hit it on first paint and it gets solved at design time.
[ Parent
| on HN ]
There are no comments on this comment yet.