This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > January 2005 > Help with CSS TMM
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Bushido 2005-01-15, 12:16 pm |
| At this URL, http://www.kickinternational.com\compete.htm - the color of
visted links are a dark grey, hard to read. Can I make those a darker tan than
the active links...rather, what needs to change in the CSS to achieve this. I
can't find using the TMM manual, and hate tinkering with the CSS, as I destroy
it more than improve it. Dave
| |
| Stubob100 2005-01-15, 12:16 pm |
| The property with the dark grey text is actually your current page, rather than
your visited link. Open the TMM style sheet and find .p7currentmark Then
change color:#FFFFFF; or whatever colour you want to use. Remember to upload
the style sheet before testing in a browser.
| |
| Michael Fesser 2005-01-15, 12:16 pm |
| .oO(cadenceguitar)
>you want to define your links in the style sheet like this:
>[...]
The entire posted code can be reduced to
a {color: #06F}
;)
font-family and -size should be declared only once for the body element,
text-decoration: underline is the default and if all colors are the same
in the different link states it makes no sense to declare them.
But of course it would be better to use different colors for the
different states and to declare the pseudo-classes in correct order
(LVHA or VLHA):
a:link {color: ...}
a:visited {color: ...}
a:hover {color: ...}
a:active {color: ...}
Micha
| |
| Michael Fesser 2005-01-15, 12:16 pm |
| .oO(Murray *TMM*)
>The location of active is almost irrelevant.
Nope.
>The important one is link
>before the rest, hover after the rest and visited in between.
The order of :link and :visited doesn't matter, because they are
mutually exclusive. They just have to come first before the others.
What matters is the order of :hover, :active (and :focus if you want to
use that). To work as expected :active should be the last. Otherwise it
makes no real sense, because it will always be overridden by :hover. An
element is still hovered while activated.
Micha
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|