I can't figure out how to get the colors for text links to display
correctly. I left the default colors in (blue for unvisited and purple for
visited). When I select Author view, the links show up as shades of gray. I
have to select User view to get the colors to show up, but then I sacrifice
the page layout.
Any help appreciated.
Guy said:
> You have you colors selected in:
> Tools > Preferences | Web Pages
>
> Then enforce your selection in:
> Tools > Preferences | Advanced
> Content > Style Options | Presentation Modes
> [x] My link style
Hi Guy, I've been fiddling with that dialog for weeks. I haven't found the
right combination of selections. It has two columns (Author and User) and
each column has the same 5 options:
Page Style Sheet
Page Fonts and Colors
My Style Sheet
My Fonts and Colors
My Link Style
I guess there are 120 combinations in total (5!), and I've tried about 40 of
them. I haven't defined a style sheet. The Opera directory has about 20 .css
files and they all have the same date (2/6/2008, presumably the publication
date).
Any more ideas?
Is there anything special you want to achieve? By default, Opera uses
blue/purple for unstyled links (this can be changed in "Preferences > Web
Pages"), and the page author can specify different colors using either
HTML attibutes or CSS styles to override this. To achieve this, the option
'My link style' (which refers to the colors you choose in the preferences)
is enabled by default in both Author mode and User mode.
If you want to specificy link colors that will override author link
styling without disabling author styling, Guy's second post gives the
right information.
--
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
Guy said:
> Try like with this example_user.css file:
>
> Presentation Modes
> Author mode User mode
> [x] Page style sheet [ ] Page style sheet
> [x] Page fonts and colors [ ] Page fonts and colors
> [x] My style sheet [x] My style sheet
> [ ] My fonts and colors [x] My fonts and colors
> [x] My link style [x] My link style
>
> <Opera Profile Directory>\styles\user\example_user.css
>
> /* example_user.css */
> @charset "utf-8";
> /* Name: Example User Stylesheet
> Link Colors and Decoration */
> :link {
> color: #0000CC !important;
> text-decoration: underline !important;
> }
> :visited {
> color:#990099 !important;
> text-decoration: underline !important;
> }
> :link:hover, :visited:hover {
> color: #FF0000 !important;
> }
> :link:focus, :visited:focus {
> color: #FF6600 !important
> }
> :link:active, :visited:active {
> color: #006600 !important
> }
> /* eof */
Thanks for the hint. I tried exactly what you suggested. Still doesn't work.
There must be something else going on.