Muffinresearch Labs by Stuart Colville

Firefox Rendering fixed | Comments (0)

Posted in Browsers on 24th May 2004, 7:02 pm by Stuart

Whilst I was designing this site I noticed something strange about the rendering in FireFox of all of the pages with the right hand sidebar. Sometimes the left and right edges were left out until you moved the page up or down. As I have explained on the homepage it turned out that that it was the user.js preference file. Following the advice on the tips and tricks page on the FireFox Help site, i had added a line that looks like this:

// This one makes a huge difference. Last value in// milliseconds (default is 250)user_pref("nglayout.initialpaint.delay", 0);

This is stated to make the browser load faster as the default of 250 milliseconds is to allow a pause for data to load. I then changed it back to the default like so:

// This one makes a huge difference. Last value in// milliseconds (default is 250)user_pref("nglayout.initialpaint.delay", 250);

Now the browser is given enought time to render the page correctly. Whilst in most cases I have not experienced any issues with this particular mod; I have found that the problem tends to be present in mainly XHTML CSS sites.

Note: if you wish to experiment with the user.js file it is found in your profile directory. See here for further instructions.

Post Tools

Comments: Add yours







XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



GNU screen: open tab in current working directory|(1)

A nice trick for having screen open a new tab in the same directory as the one you’re currently in. To use it add it to your .screenrc

# Open new window in current dir.
bind c stuff "screen -X chdir \$PWD;screen^M"
bind ^c stuff "screen -X chdir \$PWD;screen^M"

Hat tip: mteckert on SuperUser.com

Ubuntu: add-apt-repository: command not found|(2)

When you’re using a minimal Ubuntu install if you find the ‘add-apt-repository’ command is missing (it’s useful for adding PPAs and other repositories), then simply run:

sudo apt-get install python-software-properties

Photos on Flickr

© Copyright 2004-12 Stuart Colville, all rights reserved. May contain traces of Muffin. Powered by WordPress. Hosting by Slicehost.com This page was baked in 0.543s.