Font changer CSS

This stylesheet uses CSS to replace author defined fonts with user defined fonts.

This CSS file can be used both to replace fonts on all sites and for specific sites through the site specific preferences dialog. By default, it will set all headings to be Arial, if that font is not available on your PC Helvetica will be used or your system's default sans-serif font. For the body text Georgia will be used or Times New Roman if you do not have Georgia. Preformatted and code text will be in Courier New. These settings will override any settings by the site's author. Unfortunately it will only work if text is properly tagged. So, if someone has not used proper headings on his site but has merely used big regular text, those headings will be in Georgia.

Changing the settings of the file can be easily done by replacing the default font names with your own in the CSS file, using a simple text editor.

UPDATE: Frenzie pointed out a typo in the CSS, this has been corrected.
The default monospace font is now Lucida Console

Syndicate content

Tested with Opera version(s): 
9.5
9.6x
10.0
10.10
10.50
Your rating: None Average: 5 (2 votes)

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Thank you!

Thanx a lot....

I'll write on OperaTurkiye.net in this week...

Legendary

I have always wanted to do this, but always so lazy to even start...

thx.

Suggestion

Serif fonts can be hard to read especially if font size is small. It is better to use sans-serif for body text.

p.s. Courier New is very, very ugly font. Use Lucida Console as monospace font.

Didn't know about Lucida

Didn't know about Lucida Console, it is quite nice looking. At any rate, the idea of this stylesheet is that people can change the fonts as they see fit.

That typo was sloppy though, will change that.

Not using this particular

Not using this particular CSS, but I noticed you typod Georgia.

Intelligent alien life does exist, otherwise they would have contacted us.

folder

In wich folder this file must be saved? 

Whichever folder you wish, as

Whichever folder you wish, as you long as you tell Opera where to find the scripts. You can do this by going to preferences->advanced->content->javascript options.

bilal   bilal

  • bilal   bilal