Previous Message
Next Message

Styling links - inheritance problems

Sent by Jacob Reiff on 2 September 2004 20:08


css-d:

site: www.officechairdepot.com
css: /stylesheet.css

Anybody have any advice on link inheritance, mine are constantly messing
up...

As it stands, I would like it to be the following:

The breadcrumbs & my account at the top under the header should be black,
stay black and never change. no underlines, nothing.

The links inside of the blue sideboxes should be orange (#C30) and stay the
same color whether they have been visited prior or not. I¹d like them to
switch to underlined on hover if possible.
    (Currently, they turn black in color (sort of) at random ­ it seems to
be a visited thing, but doesn¹t always do it.)

The links within the main white background middle content area should be
blue (#06C). I¹d like them to keep their standard link underline.
    (Currently, they also randomly take on a black color and lose their
underline, gain it back, etc)

Below is the code I'm using now - how can this be optimized for proper
cascading?

-----------
code:
..sidebox :link, :visited {
text-decoration: none;
color: #C30;
}

..sidebox a:hover {
text-decoration: underline;
}

:link, :visited {
color: #06C;
}


#topmenu :link, :visited {
text-decoration: none;
color: #000;
}
-----------

Thanks for any help!

-- 
Jacob Reiff
[EMAIL-REMOVED]

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: