News for hackers. Stuff that matters.
Re:We finally learned to center a div, then browsers added s... by sebastiennight on Tuesday August 04, 2026 @10:38PM (#49177942)
Ah but see, exploiting a Chromium API has let us know you've got this second screen on the side, so we're centering the div on your overall work space.

PS: if you switch from the touchpad to a wireless mouse, we'll move the div accordingly

Re:We finally learned to center a div, then browsers added s... by nkrisc on Wednesday August 05, 2026 @06:30AM (#49180839)
1. Neither of my screen is to the side of the other.

2. The demo doesn't even work, the div stays centered in the viewport, not the program window when I open a side bar (Firefox).

3. Rarely does my browser even cover the center of my workspace, so it would be impossible to center anything in the center of my view without forcibly moving the program window from within the website.

Re:We finally learned to center a div, then browsers added s... by sebastiennight on Wednesday August 05, 2026 @11:41AM (#49184449)