hi.

i have this website http://www.vorlage.net.au/clclax.org.au/News/doug-fox-awarded-oam where you can see the underlined BLACK links on the left (block) and on the middle (node).

how can i change the text-decoration for node only (needs to be red) and the block text-decoration needs to be black.

Thanks

Comments

pbarnett’s picture

I don't see where the text-decoration comes into it, but for the colours -

.node a {
  color: red;
}

.block a {
  color: black;
}
gaurav_m’s picture

Hello,

It should be like

.node a:hover {
text-decoration:#FF0000;  / * red  */
}

.block a:hover {
  text-decoration:#000000;  /* black */
}

Hope that works!

pbarnett’s picture

It won't.

You can't specify colours in a text-decoration specifier.

See http://www.w3schools.com/css/pr_text_text-decoration.asp

wer0ckz’s picture

ISSUE RESOLVED!! thank you

gaurav_m’s picture

crap! should be

.node a:hover {
color:#FF0000;  / * red  */
}

.block a:hover {
color:#000000;  /* black */
}