Ask HN: Best Width for Website?
I see a lot of people recommending something like 80 char width max. Or even lower. However, since each person is able to set the width of the browser, does this really apply to the browser? I mean, I have an 1080p 27" monitor, and I am fairly happy reading something like 90% width of that. No need to go all the way down to max. of 80 chars. Also, I think it looks horrible when the browser is full width on the monitor, yet a website forces the max-width to something like 940px. What is your personal preference on this?
30 comments
[ 5.7 ms ] story [ 89.8 ms ] threadOn large screens, body text at the default 16px / 1rem size is too long if the container conforms to 1200px or even 1920px width.
Some designs break the body text into columns, or present it in a single column in a narrower container (60-80ch).
Any other options you’ve found useful?
It's true that a user can set the width of their browser to make your text flow to an acceptable width. However, most browser windows contain multiple tabs, and it's annoying to switch between a bunch of tabs that each require the window to be resized for an optimal experience.
It would be cool to space paragraphs and similar content into flex-boxes so they could fill up a row if it was wide enough.
While I appreciate efficient stuff like that, it seems some clients are hell bent on having this design for them look exactly like the design of place X they are jealous of - so doing things like that doesn't always make the cut.
One recent client was viewing on a hi res mac screen - and I had not checked that one of the full-width hero images which was full width on my monitor was not large enough to go full width on hers.. not because the css was not right, but the actual image was not big enough (was 1920 px and not 2550 or whatever)
so there's that as well.
I thought the general hand wavy thoughts on browser sizing was that the average web browser user was supposed to be expected to ctrl+scroll-wheel to increase their view, and that we were supposed to respect whatever browser defaults they had for text and what not.. but real world is not what web-standards people want it to be often times. I'm not sure more than 10% know to increase zoom with laptop/desktop screens.
Also recently found that startpage searching for sites to show pics of what demo site looks like at 1920 wide, 2550 wide, etc.. the top 20 options are not so great right now.
would love real world info on how many visitors ctrl+scroll or otherwise View - zoom in or what not.
my 2 cents for early 22
Mobile first is just a technical excuse and not the actual flow people like to do.
I don't think I can make a convincing argument to change designers mind to start out from mobile design.
The main argument is that the majority of visitors are on mobile. You need to provide the best version for most of the visitors, and the compromised version for the others.
Not sure what this means. Compromised is when you have less space to cram information in.
> The main argument is that the majority of visitors are on mobile.
Is this about your site?
https://en.wikipedia.org/wiki/Column_(typography) https://tailwindcss.com/docs/typography-plugin
https://www.peachesnstink.com/settings
I think it works nicely. I believe the default is 600.
[0] https://www.peachesnstink.com
Visually challenged users might use bigger font sizes — and a line would get too wide for convenient reading. There are some other issues with this approach.
I personally just keep an eye on what the top text-centric sites are doing. The logic being that NYT, Substack, Medium, etc have much more resources than me to research the subject. I just keep a list of about 10 sites and check their readability progress 2-3 times a year.