Forum Moderators: not2easy

Message Too Old, No Replies

Newbie needs help

         

eaglepi

5:24 pm on Aug 2, 2003 (gmt 0)

10+ Year Member



I know nothing about css so a friend of mine set up my main css for me. I'm afriad that she didn't set it up correctly and don't want to hurt her feeligs by questioning it to her..

The problem is I have 3 different colors on my website that the text is on, She has it set up so that the links are one color, they all also have a hover color. The problem is no one text color works with all 3 of my main page colors. can links on different parts of my page have different colors? if so how can this be done....please remember I know very little about css

SinclairUser

11:31 pm on Aug 2, 2003 (gmt 0)

10+ Year Member



You can set a different link color within a <div> thus.

#name1 {blah...}
#name1 a {color: blue;}
#name1 a:hover {color: red;}

#name2 {blah...}
#name2 a {color: green;}
#name2 a:hover {color: yellow;}

All links in div name1 will be blue and red when hovered over.

All links in div name2 will be green and yellow when hovered over.

There are many ways to do this in CSS - this is just one example. You can also modify the global stylesheet for each page.