FREN

#FF00AA


29 sep. 2002

And it was so obvious!

Pretty much every browser allows users to impose a stylesheet on every site you visit. It’s hardly ever usable, because if you make it too broad you get the whole web disfigured. But, but, but… there is a very simple way to allow all your visitors to change the way they see your site, as they see fit: All that’s required is the addition of an ID=”yoursite” attribute to the BODY element of each of your site’s pages.

Then, the user can edit his stylesheet, adding something like BODY#www garoo net, BODY#www garoo net p, BODY#www garoo net li { font-size: 30px; }. Voilà, the font size on every garoo.net page is now a huge 30px, you can put your glasses back down. Obviously, it requires the users to know CSS, but at least it gives them an option, and doesn’t cost you anything.

This doesn’t mean much for garoo.net, since the options page allows you to change font name and size and line height, and it’s hard to be more readable than black on white. But it’s interesting for all those blogs whose readers complain about readability—you can make your designs white on black, or red on blue if you like, but the readers will always be able to read your writing the way they like. And none of this costs you anything. Isn’t that magical?

→ www.rdrop.com

Want to know when I post new content to my blog? It's a simple as registering for free to an RSS aggregator (Feedly, NewsBlur, Inoreader, …) and adding www.ff00aa.com to your feeds (or www.garoo.net if you want to subscribe to all my topics). We don't need newsletters, and we don't need Twitter; RSS still exists.

Legal information: This blog is hosted par OVH, 2 rue Kellermann, 59100 Roubaix, France, www.ovhcloud.com.

Personal data about this blog's readers are not used nor transmitted to third-parties. Comment authors can request their deletion by e-mail.

All contents © the author or quoted under fair use.