by crooked-v · 1y ago · 0 comments
Side note: Dan Luu claims[0][1] that there's no readability advantage to narrow line width. I haven't really looked into it, but in my experience it feels like he's very wrong.
[0]: https://danluu.com/slow-device/ [Appendix: this site vs. sites that don't work on slow devices or slow connections]
Reading the wikipedia references show me that this is well studied and sourced.
Academic sources for his argument either dont exist or are so rare even he can't find them.
IOW, it's a post hoc rationalisation from him.
javascript:(function(){var newSS, styles='body { width: 800px ! important; margin: auto !important } '; if(document.createStyleSheet) { document.createStyleSheet("javascript:'"+styles+"'"); } else { newSS=document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,'+escape(styles); document.getElementsByTagName("head")[0].appendChild(newSS); } })();
It forces the body width to 800px and centers it. Crude but it is enough for me.You can write this feature as a userscript and then publish it to greasyfork
For example, older monitors had less pixels, so it's likely that the wrapping was sensible in older monitor/browser configs.
To say nothing of browser defaults being different, if this was pre-css, then the margins might have been baked into the default browser interpretation. In other words, pre-margin property, a webpage without margin didn't mean "this has no margin", in the sense that a modern webpage without margin specified would mean "DO NOT ADD MARGIN TO THIS!".
Also, reader mode was not suppressed by some naughty trick.
Unreal.
The real problem is our screens are the wrong shape. 16:9 is a stupid aspect ratio for a computer monitor if you work mostly with text. Square is probably the best. Using floating windows (like classic Mac OSX) is an option, but for some reason people like full screen windows these days. A tiling window manager is another option to effectively divide the screen up into better shaped areas. I tend to have 6 columns across 2 screens which works well.
It is a side effect of mobile devices -- Mobile-first design. When apps got popular, people decided that everything needed to be designed for mobile devices first, and adjusted for larger browsers screens later. So people started making everything tall and narrow. And said it was bad practice to do otherwise. Now people who learned UI design after those days often follow that idea. Personally, I am not a fan, but that is where it comes from.