Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Learn More

I created a 'userContent.css' file in the appropriate profile directory but I've screwed everything up and now have NO style anywhere!!!

  • 4 respostas
  • 1 tem este problema
  • 5 visualizações
  • Última resposta por no.cache

more options

I followed every instruction and placed the 'userContent.css' file here C:\Documents and Settings\MyXPUserAccount\Application Data\Mozilla\Firefox\Profiles\kua9g3iu.default\chrome

Having never done this before I assume that by ~~.css you mean nothing but style info, correct? Here is the entire content of my userContent.css file (between the dashed lines):

- - - - - - - - - - - - - - - - - - - -

  • {

background: WHITE!important; color: BLACK!important; font-size: 14px!important; line-height: 16px!important;}

a {text-decoration: UNDERLINE!important;}

a.hover {color: RED;!important;} a.link {color: BLUE;!important;} a.active {color: INDIGO;!important;} a.visited {color: DODGERBLUE;!important;} - - - - - - - - - - - - - - - - - - - -

I wouldn't have had to do this if Firefox's color settings for LINKS worked, but they didn't, they don't, and now I'm looking at the equivalent of black line art on a white background. :(

I've been meaning to attempt this for years but now I need to understand this in earnest. Help!? And thank you!

I followed every instruction and placed the 'userContent.css' file here C:\Documents and Settings\MyXPUserAccount\Application Data\Mozilla\Firefox\Profiles\kua9g3iu.default\chrome Having never done this before I assume that by ~~.css you mean nothing but style info, correct? Here is the entire content of my userContent.css file (between the dashed lines): - - - - - - - - - - - - - - - - - - - - *{ background: WHITE!important; color: BLACK!important; font-size: 14px!important; line-height: 16px!important;} a {text-decoration: UNDERLINE!important;} a.hover {color: RED;!important;} a.link {color: BLUE;!important;} a.active {color: INDIGO;!important;} a.visited {color: DODGERBLUE;!important;} - - - - - - - - - - - - - - - - - - - - I wouldn't have had to do this if Firefox's color settings for LINKS worked, but they didn't, they don't, and now I'm looking at the equivalent of black line art on a white background. :( I've been meaning to attempt this for years but now I need to understand this in earnest. Help!? And thank you!

Todas as respostas (4)

more options

Delete that userContent.css file.

more options

the-edmeister said

Delete that userContent.css file.

Ed, the point is I want it to work. Has the syntax/style/structure changed? because when I look at my userContent.css code (above) it looks like css to me (?)

more options

The context of the css that you posted isn't correct. This forum software may have messed it up a bit, but even allowing for that it appears to be in error. At a minimum, you are missing spaces after and between the selectors (punctuation marks). http://kb.mozillazine.org/UserContent-example.css

Why don't you start with an appropriate UserStyle and the Stylish extension, first. Then when you get a feel for how to format css start doing it manually. https://userstyles.org/

Example: https://userstyles.org/styles/54800/visited-color If you would have Stylish installed, a Show CSS link would appear on that page. Toggles between Show CSS and Hide CSS.

more options

the-edmeister said

The context of the css that you posted isn't correct. This forum software may have messed it up a bit, but even allowing for that it appears to be in error. Why don't you start with an appropriate UserStyle and the Stylish extension, first. Then when you get a feel for how to format css start doing it manually. https://userstyles.org/ Example: https://userstyles.org/styles/54800/visited-color If you would have Stylish installed, a Show CSS link would appear on that page. Toggles between Show CSS and Hide CSS.

Won't the Stylish Addon be proprietary to Stylish (with a bunch of stuff created exclusively to use the Stylish Addon)? I'm not trying to be argumentative Ed but after spending over 2 hours trying to find even one complete example of an external userContent.css file has been a nightmare! Everybody has snippets; I need to see examples of the entire content that appears in the userContent.css file — from Line 1 to the last line of text in the file. The Moxillazine link you provided is limited, and half of 'zine's links are dead.

You'd think it was like pulling teeth for someone somewhere to post (even one) complete userContent.css file. And what is with !Important? And Chrome? Why exactly am I saving configuration files in a Chrome folder?

They'll have to place me in a padded cell when this is over! lol