Holger Metzger wrote:
> gavin long wrote:
>
>> David Tenser wrote:
>>
>>> That's what I'm trying to ask. On my Mozilla, it underlines words
>>> starting and ending with _underscores_ ... My question is where that
>>> is specified! Are there any CSS file that holds these formatting rules?
>>
>>
>> I don't know, but this page : http://www.hmetzger.de/net6e.html tells
>> you how to turn it on & off (tips 13 & 20)
>
>
> Mozilla uses a different way though.
>
> It's
>
> span.moz-txt-underscore {
> text-decoration: underline;
> }
>
> in Mozilla.
>
> On my page I just use
>
> .moz-txt-underscore {
> text-decoration:underline;
> }
>
> So to disable it, the following line should be added to userContent.css:
>
>
> span.moz-txt-underscore {
> text-decoration: none;
> }
Holger, when I open userContent.css with WordPad I see the following:
/*
* 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.
*/
/*
* example: turn off "blink" element blinking
*
* blink { text-decoration: none ! important; }
*
*/
/*
* example: give all tables a 2px border
*
* table { border: 2px solid; }
*/
*
/*
* For more examples see http://www.mozilla.org/unix/customizing.html
*/
Something doesn't appear to be right, or do I insert .moz-txt-underscore
{text-decoration:underline;} as an additional line in that file?
Also, when I performed a Find on user.js I came up with no matches.
Therefore I couldn't follow your suggestion in Tip 13. Any thoughts?