Page Readability Bookmarks
I’ve long been a proponent of flexible web pages rather than restricting sites to a hard coded width in pixels, but now that I’ve started surfing at 1280x1024 I’m beginning to realise how true the statements about an optimum width for readable text really are. The simple solution would be to surf with my browser window resized to a sensible size, but old habits die hard. Instead, I made myself the following bookmarklet:
It resizes the current page to be 500 pixels wide, which for most flexible designs makes the text much easier to read. It’s only tested on Firebird. I also find Verdana to be the most readable of the web fonts, so I’ve created the following bookmarklet which alters the default text style for the page—ideal for reading Slashdot ;)
Both bookmarklets are extremely simple, but I have been using them all day and have found them very useful.
francois - 2nd August 2003 22:07 - #
Manuzhai - 2nd August 2003 22:16 - #
Hmmm, I've found that I rarely have any application maximised any more. Occasionally, I come across some feature that really wants all the screen estate it can grab. That's when F11 (full screen / theatre mode) comes in real handy!
But on the whole, I find I can't live without my mail window side by side with my browser.
-Dom
Dominic Mitchell - 2nd August 2003 22:24 - #
Russ Weakly - 2nd August 2003 23:45 - #
I rarely use apps full screen so it's not really a problem for me although I think its more to do with the way I'm used to working on macs than any conscious preference. Come to think of it the only thing I have full screen is Word, but I'm not sure why.
I've just made the browser full screen @ 1280x1024 to try it out. Hehe, it's a little overwelming thats for sure.
pete - 3rd August 2003 00:13 - #
Al - 3rd August 2003 01:26 - #
Unless it's just me (or my browser, to be precise), your bookmarklets don't work on your site - something to do with your content type not being text/html? Apparently your
document.bodyhas no properties.So unless it's just Mozilla 1.3, then you obviously don't view your own site in verdana at 500px width.
PS: Your preview lost my comment again - hadn't filled in all the fields, apparently, and on coming back, it would seem that I hadn't filled in any of them! Note to self - copy comment to clipboard when posting to Simon.
Andrew - 3rd August 2003 01:34 - #
Actually it is Mozilla 1.3. Later versions of Mozilla use the HTML DOM when dealing with XHTML documents, but with 1.3 and earlier, the XML DOM is used, hence no document.body
Xiven - 3rd August 2003 02:41 - #
This discussion has got me thinking: It seems like the CSS media types available are a bit too broadly defined.
From: http://www.w3.org/TR/REC-CSS2/media.html
screen: Intended primarily for color computer screens.
tv: Intended for television-type devices (low resolution, color, limited-scrollability screens, sound available).
handheld: Intended for handheld devices (typically small screen, monochrome, limited bandwidth).
Now the assumption is made that different types of devices will have different screen resolutions. However, given how varied the area of computer monitors is (640X480 all the way up to cinema-wide apple monitors), perhaps there should be sub-media types for "screen" considering that a 1280X1024 monitors is about as different from a 640X480 as it is from a TV device...just some thoughts...
MikeyC - 3rd August 2003 04:22 - #
Dave S. - 3rd August 2003 05:52 - #
MikeyC - 3rd August 2003 06:21 - #
Dave S. - 3rd August 2003 06:54 - #
MikeyC - 3rd August 2003 07:25 - #
MikeyC, worksforme in Firebird/20030711/WinXP.
Simon, why don't you just set Verdana to your default font? Slashdot doesn't specify a font, and the QuickPrefs extension gives you a convinient menu item to disable custom fonts and a lot of other annoyances.
While it's been predicted as coming for a long time, we will eventually have to deal with all sorts of displays of varying resolutions, shapes and sizes, so everyone will have to get used to resizing their windows eventually.
Maybe the CSS3 multi-column layout module will provide a better solution...
Jan S. - 3rd August 2003 09:30 - #
I use Georgia on this site mainly because I got bored of using Verdana on everything I created; I find it perfectly readable and don't sue the Verdana bookmarklet on this site but for making other sites instantly more readable Verdana seemed like a more logical choice.
The bookmarklets (and opening a link in a new tab) work fine in Firebird 0.6.1, which is based on the most recent Mozilla code-base.
Russ Weakly got it spot on when he said the ideal solution is min-width and max-width properties; it's a shame IE doesn't support them yet (and won't for several years). I wonder if it's possible to replicate their effects using javascript?
Simon Willison - 3rd August 2003 09:50 - #
Manuzhai - 3rd August 2003 10:26 - #
Tim Parkin - 3rd August 2003 11:04 - #
Eivind Lie Nitter - 3rd August 2003 12:17 - #
Daniel Nolan - 3rd August 2003 13:43 - #
I think there is a way of executing a custom bit of javascript for certain sites you visit. You'd have to use a user stylesheet and a bit of XBL - the XBL script would be assigned to the body element in the user stylesheet and would check the current URL and apply a certain set of extra styles / javascript conversions based on the site. I don't know if there's some kind of security model to stop you doing that but if it's possible it could be pretty interesting.
Alternatively, the ability to apply custom stylesheets to specific sites would make a great Firebird extensions.
Simon Willison - 3rd August 2003 16:29 - #
Martijn - 3rd August 2003 21:49 - #
Surely the way forward is to specify the column width in ems, thereby resizing as the text size is changed. You get to keep roughly the same number of words per line no matter what size the text is...e.g. at Brainjar
Tim - 14th August 2003 16:56 - #
John E. - 9th November 2003 09:33 - #