4 ms·
Agreed, altough I find myself liking websites with a narrow width lately. I have no data to back this up, but to me, it seems that when people think about buil
by jamesponddotco 6y ago
Agreed, altough I find myself liking websites with a narrow width lately.
I have no data to back this up, but to me, it seems that when people think
about building websites without JS, they completely forget that CSS, or design
are a thing.
I am building a website for a simple API I built for my company[1] that I
thought others might want to use, and while there is no JS, that does not mean
that I just uploaded an unstyled .html file to the root of my server.
While unstyled have their own charm at times, in general, I think a little bit
of CSS, design, and inspiration goes a long way.
[1] https://i.cpimg.sh/pwiyfpBpIKL5.png https://i.cpimg.sh/pwiyfpBpIKL5.png
- deleted 6y ago[deleted]
- stan_rogers 6y agoI usually use a max-width of 40rem and add 1rem padding for small screens/windows to keep off the grass, as it were. That anchors the width to the base text size so the line length makes basic sense, no matter what the user font settings might be.
- bradley_taunt 6y agoThat's a great go-to. I also use character width for setting max-widths (66-75ch is best range for reading length)
- hliyan 6y agoThis type of differences in personal preferences is precisely why I'm for leaving pages completely unstyled...
- zzo38computer 6y agoYes, I agree. I don't like the max-width setting; it should use the width of the window that the user has set. Same with font sizes, and usually, also colours. (Sometimes CSS is helpful (if not overused), but for many documents it will be much better to avoid CSS.) CSS is often what makes web pages look bad.
- stan_rogers 6y agoI generally use a full-screen browser. I never want a full-screen line of text.
- zzo38computer 6y agoDoes your browser have sidebars? You can add sidebars if you want to reduce the width of the document, I suppose. (There is bookmark sidebar, history sidebar, and web developer sidebar; what I think is missing is the table of contents sidebar, which would list the <h1>, <h2>, etc in the current document. Another thing that might be wanted is split-screen mode, I think.) I personally do want a full-screen line of text, although I suppose some people do not want.