Multiple link colors in page
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 posted this at 02:11 — 8th March 2002.
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.
Megan
Connect with us on Facebook!
disaster-master posted this at 03:20 — 8th March 2002.
She has: 2,154 posts
Joined: May 2001
Here is a tut that explains.
http://www.projectseven.com/tutorials/pseudoclasses/index.htm
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.