Multiple link colors in page

They have: 105 posts

Joined: Jan 2002

Is it possible to get a site that has multiple colors for links?

My problem is that I have a header which requires the main page links be white. When I attempt to insert a regular link in my page (w/ white background), the text from these links don't show up (white on white is never a good font color combination)

Thanks in advance.

CPRhosting.com - CPR Hosting...Giving life to the web
Custom-made Hosting Plans starting at $2

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Yup, just create different link classes in your stylesheet. It'll look something like this:

a.white {color: white;}
a.white: visited {color: ???}
a.white: active {color: ???}
a.white: hover {whatever}

Then you'd put class="white" in your link tag.

disaster-master's picture

She has: 2,154 posts

Joined: May 2001

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.