3 ms·
This is even better, in my opinion: https://bestmotherfucking.website/ https://bestmotherfucking.website/ Anyway, I agree. Text should always have a max width.
by suprfnk 9y ago
This is even better, in my opinion: https://bestmotherfucking.website/ https://bestmotherfucking.website/
Anyway, I agree. Text should always have a max width. Long lines of text aren't really readable.
I use this in my SurfingKeys settings, and use it on a lot of sites to make them more readable:
mapkey('<Ctrl-m>', 'Centers the current page', function() {
document.body.style.cssText = "font-family: sans-serif !important";
document.body.style.cssText += "color: black !important";
document.body.style.cssText += "line-height: 1.4 !important";
document.body.style.cssText += "margin: 0 auto !important";
document.body.style.cssText += "max-width: 60em !important";
document.body.style.cssText += "background: none !important";
document.body.style.cssText += "background-color: #FEFEFE !important";
return true;
});
- lmm 9y agoDisagree, or at least if there's a width that's too wide then I haven't found it yet. Let the user set the width they want in their browser, don't force your own max width on them.
- adrianN 9y agoTypography people generally agree that lines that are too long are harder to read and recommend fairly short lines, less than 15 words. They have a number of studies backing them up. Maybe you're an outlier.