Hacker News new | ask | show | jobs
by tkirchner 4588 days ago
Here is a motherfuckingwebsite as an example: http://motherfuckingwebsite.com/
1 comments

Please don't do a serious website without a container div limiting the width of the reading area. Most people with laptops keep their browser windows maximized, and resizing the window just to read one article is a huge pain in the ass. I usually just decide not to bother. Otherwise that website's great.
Well, maybe they shouldn’t do that, then. If they don’t want a web site that wide, they shouldn’t make the web browser window that wide.

(Oh, I forgot that the web browser is not an application, but a platform and an OS in its own right, and has replaced the native OS. Silly me.)

One day you nerds will realize that technology serves people, not the other way around. I can't wait for that day.
Are you talking about the web browser or the web page here? Or maybe the OS/DE that makes it awkward to split the screen/size the window to reading width?

Or the laptop, with it's silly form factor?

But sure, everyone that publishes some text better make sure they account for every context that it might get viewed in.

In the spirit of offering solutions, here's some code you can use to add a 'Narrow' button to your browser:

https://gist.github.com/maxerickson/7771860

I'm talking about a simple container div. Works everywhere.
Yes, I understood you.

I thought it was bizarre that you thought having every author of a webpage put some noise in their code was the right place to fix your technology stack.

Is there some third way? Occasionally I really want it that wide, and if there's a div there's no way (short of firebug or grease monkey) to get it. At the same time, as someone who quite frequently has windows maximized, I feel some of your pain - though "ctrl-f S <read> ctrl-f Q" isn't exactly a "huge pain in the ass".