• Resolved David Borrink

    (@davidborrink)


    While developing a TwentyTwelve Child theme, I created a link with uppercase as the text transform, but the result is uppercase PLUS an underline.

    Examining the CSS in Firebug showed this line of css:

    *|*:-moz-any-link:not(svg|a) {
        text-decoration: underline;
    }

    and it’s referenced to a file called “about:PreferenceStyleSheet” and it says “<system>”.

    I’m stumped. Where would this file be and how can I nullify it so that my uppercase link doesn’t have an underline?

Viewing 2 replies - 1 through 2 (of 2 total)
  • PreferenceStyleSheet is the default stylesheet that’s built into Firefox and is used when a CSS rule hasn’t been defined for a particular element. You should be able to override it by adding a text-decoration: none; to the rule that you’re adding to transform the link to uppercase.

    Thread Starter David Borrink

    (@davidborrink)

    I see. The ‘moz’ in the title should have clued me into that.

    Okay, my brain was mush at that moment. I had forgotten to set the “text-decoration” and was relying on “text-transform”. LOL. Thanks, CrouchingBruin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trying to locate an about:PreferenceStyleSheet file’ is closed to new replies.