General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
BG and Text
Date: October 21, 2009 03:05AM

How can I make all webpage have a black bg. and whit text, courier new.
thx.

Options: ReplyQuote
Re: BG and Text
Posted by: guenter
Date: October 21, 2009 04:36PM

via User Defined Stylesheet. Basically answered here.

AFAIK

body { background-color: #000000 !important; color: #ffffff !important; font-family: courier new !important; }

Lets hope - courier new is the right name of Your font. Not sure about font... & html.

See other thread why.

Options: ReplyQuote
Re: BG and Text
Date: October 21, 2009 05:47PM

so then. user.css should look like this?

/* ----- DO NOT EDIT ANYTHING ABOVE THIS LINE -------------------------------------------- */
body { background-color: #000000 !important; color: #ffffff !important; font-family: courier new !important; }

Options: ReplyQuote
Re: BG and Text
Posted by: siria
Date: October 21, 2009 06:01PM

I've just struggled around with it, since I just happen to be in the middle of making a new toolbar again, and so don't need to restart for temporary styles ;-)
BTW, there are also two or three extensions for styles or stylesheets on kmext.sf.net...
Anyway, knowing very little about CSS, always fiddling, but now it works smiling smiley

/* ----- DO NOT EDIT ANYTHING ABOVE THIS LINE -------------------------------------------- */

/* White background, font black and serif, links blue and underlined */

* { background-color: white !important; }
* { font-family: Serif !important; }
* { color: black !important; }
a { color: darkblue !important; text-decoration: underline !important; }


Options: ReplyQuote
Re: BG and Text
Posted by: guenter
Date: October 21, 2009 06:21PM

Yes try it like that.

As i said in the other thread i forgot much html. More than most ppl learn.

BTW. Your font is probably correctly spelled "Courier New" with capitals. You may have to use 'Courier New' or "Courier New" so the css interpreter knows it is one item/font and not two items. Just experiment or look it up on pages about css.

If You speak German go to selfhtml http://de.selfhtml.org/css/eigenschaften/schrift.htm

Means: try also this if the font-family is not recognized in the other syntax.

body { background-color: #000000 !important; color: #ffffff !important; font-family: 'Courier New' !important; }




siria's * will make that not only the body but also other text areas are colored in this pattern.

#000000=black
#ffffff=white

I forgot that English might prefer the word (which can be use for some colors) instead of the code.

thx siria!

A little German tool to do colors without knowing their English name http://de.selfhtml.org/helferlein/farben.htm


p.s. I am redoing the alpha versions of PhoenityAura icons at the moment.
The current ones make problems under WinME. sad smiley Maybe I get them finished one day grinning smiley

Then a German Privacy Bar will be next 2 do.



Edited 4 time(s). Last edit at 10/21/2009 06:38PM by guenter.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.