View Single Post
Posts: 309 | Thanked: 51 times | Joined on Apr 2007
#1
I have configured a minimum font size of 20pt since my early N800 times. But that results that many poorly designed websites have text areas which are much wider than 800 pixels, and therefore you have to scroll horizontally to read them - very annoying!

The former opera browser had a nice feature for those situations: "Fit width to view". Microb also has this menu entry, but it does not work well and does more harm than being useful.

The missing "fit width to view" was one of the most annoying things since my upgrade to OS2008.

Then I found a simple solution:

Most of those problematic websites use tables. One table column for menus, one for text, one for adverts and so on.

Therefore the trick would be to allow only table data of a certain maximum width.

And as Microb is variant of Firefox, you can indeed override what the web designer ordered.

You just have to install your own style sheet with the new overriding rules.

You have to create this file:
Code:
/home/user/.mozilla/microb/chrome/userContent.css
Then I put the following rule into this userContent file:

Code:
@namespace url(http://www.w3.org/1999/xhtml);
td {max-width : 780px ! important ; }
That's all. It basically says: Allow only table data (TD tag) of maximum 780 pixels width. Of course, you can modify and add more rules to your own taste, like always having a pink background and such - some knowledge of CSS is useful.

Since I added this userContent file, I have no longer problems with those broken websites. They just render perfectly well - including ITT

Hope it's helpful for you too.
 

The Following 10 Users Say Thank You to Rider For This Useful Post: