We finally learned to center a div, then browsers added sidebars
131–140 of 172 posts
Re: We finally learned to center a div, then browsers added sidebars
#132Earlier quoted context omitted.
While providing this information to websites without user permission is probably a longstanding mistake of web browsers, windowing systems withholding proper on-screen positioning from native applications is a bug in that system - a bad one.
Why? The window and its position shouldn't matter to the app. My tiling window manager doesn't care what your snowflake app thinks it wants, and I don't either.
Re: We finally learned to center a div, then browsers added sidebars
#133Re: We finally learned to center a div, then browsers added sidebars
#134The sidebar reduces the size of the viewport, and the viewport is what you're centring within. This is obvious and sensible behaviour from Firefox. Please don't centre based on screen res or whatever. Basing your centre position on anything other than the viewport is user-hostile behaviour.
Perhaps bad design, but user-hostile is a bit of a stretch.
Re: We finally learned to center a div, then browsers added sidebars
#135The net result of what this site is doing seems to result in one of two effects when I open the sidebar, randomly: 1) the sidebar covers the content, while the content has blank space to the right, or 2) the content moves off the right edge of the screen, leaving a large blank space to its left. Both of these are wrong. If I have a sidebar open, the site is now narrower , stop trying to be clever. My immediate reacti…
> My immediate reaction to this is why is the browser giving the site this information, and could we stop. That's my reaction to almost all new web APIs :|
Re: We finally learned to center a div, then browsers added sidebars
#136Re: We finally learned to center a div, then browsers added sidebars
#137Earlier quoted context omitted.
> If I have a sidebar open, it's because that space is not yours to care about. Drawing UI is hard. Firefox likes to draw the websites underneat the scrollbar. Google likes to draw system nabigation buttons over the window with all kind of funny interractions. That's what happenes when you train people "on the job".
> Firefox likes to draw the websites underneat the scrollbar. This was a choice that they actively made. It's not hard by default, they just chose to do something stupid because they think it looks pretty.
Re: We finally learned to center a div, then browsers added sidebars
#138Re: We finally learned to center a div, then browsers added sidebars
#139Earlier quoted context omitted.
You'd be surprised
That's somehow controversial? There are kiosks used for public browsing, where the user has access to full browser app window and can change elements. There are also ways to get around kiosk mode restrictions, or at least there were for Windows in kiosk mode back in the day. We used it to get browsing access or to just mess with the kiosk. The fun!
Re: We finally learned to center a div, then browsers added sidebars
#140The sidebar reduces the size of the viewport, and the viewport is what you're centring within. This is obvious and sensible behaviour from Firefox. Please don't centre based on screen res or whatever. Basing your centre position on anything other than the viewport is user-hostile behaviour.
Perhaps bad design, but user-hostile is a bit of a stretch.