Removing line noise with a user style sheet

I find text with underlining or strikethough difficult to read, so I use the following user style sheet to remove it, except when hovering over links:

/*
* This file can be used to apply a style to all web pages you view
* Rules without !important are overruled by author rules if the
* author sets any. Rules with !important overrule author rules.
*/

:link, :visited {
    text-decoration : none !important ;
}
:link:hover, :visited:hover {
    text-decoration : underline !important ;
}
del {
    text-decoration : none !important ;
}
strike {
    text-decoration : none !important ;
}

In Firefox, the user style sheet file is called chrome/userContent.css in the user profile directory.

Published 31 May 2010, tags: ,

Comments

You can email me at stephen#viles.nz (change # to @) or tweet me at @svilesnz.

Articles