In article <[EMAIL PROTECTED]>, Steve VanSlyck wrote:
> What's wrong with these lines? None of them work.

well I tried these as is, and they turned all the links red. if that
didn't happen, maybe your file is in the wrong place or something?

>/* Make javascript links green (Mozilla) */
>a[href^="javascript:"] { color: green ! important }

AFAIK, "^=" isn't valid, but I'm not sure how to do this. I think you can
only match entire attribute values, but I could be wrong.

> /* Make unvisited links blue */
>:link, :unvisited { color: blue ! important }

there's no such thing as ":unvisited" - ":visited" is a visited link,
":link" is an unvisited link. so what you want is simply:
:link { color: blue ! important }

> /* Make visited links red */
>:link, :visited { color: red ! important }

again, this will apply to all links, and all visited links. you want:
:visited { color: red ! important }

> /* Underline links while hovering */
>:link:hover, :visited:hover, :unvisited:hover { text-decoration: 
> underline ! important }

again, :unvisited doesn't mean anything, so:

:link:hover, :visited:hover { text-decoration: underline ! important }

-- 
michael

Reply via email to