|
|
Op Sat, 05 Jul 2008 00:37:05 +0200 schreef Robin Zalek
<bteorl@xxxxxxxxxxxxxxxxxxxxxxxx>:
On Fri, 04 Jul 2008 15:13:07 +0100, Swann <guermantes@xxxxxxxxxxx> wrote:
Hi,
In these days of CSS, if I choose to display pages in user mode rather
than Author mode, then the whole page usually becomes illegible due to
structure. So I am forced to use Author mode.
But if I want to change body copy fonts it gets impossible because most
CSS files specify e.g. Verdana, Helvetica, Arial, generic sans serif.
Without removing the 3 former typefaces from my computer I can't change
the display font. In Opera's settings I can only change the generic
sans serif but I can't do any font substitution, e.g. substitute Tahoma
for Verdana.
Is there a trick or a hack that could enable this possibility in Opera?
Thanks!
Tools-->Preferences-->Advanced-->Content-->Style
Options...-->Presentation Modes
Check "My Fonts and Colours" underneath the Author Mode heading.
Or, and this way is probably preferred if you know how to write CSS
files, setup a user.css file
Specify the file's location here: opera:config#UserPrefs|LocalCSSFile
You may need to use !important rules, but I believe entries in user.css
override page styles.
With the !important addition, they do.
If the file doesn't seem to be (and you may need to restart Opera to see
changes) check the dialog mentioned above and make sure "My Style Sheet"
is enabled in both modes.
User.css files can be created in site specific preferences too, so you
can override more specific things if a generic list of rules fails to
cover an edge case.
See also here:
<http://my.opera.com/Rijk/blog/2004/05/25/using-browser-css-and-user-css-in-opera-7-5-for-non-geeks>
for some tips on using a user.css file.
Hm, I should update that page, some things are not applicable anymore. The
examples of CSS code are still nice though, you can copy and paste them
into you user.css file.
--
Rijk van Geijtenbeek
Opera Software ASA, Documentation & QA
Tweak: http://my.opera.com/Rijk/blog/
"The most common way to get usability wrong is to listen to what users
say rather than actually watching what they do." - J.Nielsen
|
|