|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Is it possible for CSS to specify different colors for multiple links?
I have a website where part of the page has white text over a dark red background and the rest of the page has black text on a white background. I would like to create white-colored links (for the dark red background area) and standard blue-colored links (for the white-background area).
Is there any way to do this with CSS? I am using a WYSIWYG editor (Golive). Any help would be appreciated! Last edited by Enoch : September 15th, 2003 at 02:55 PM. |
|
#2
|
||||
|
||||
|
Search this forum for 'pseudoclasses'. I remember a good example being posted here somewhere.
|
|
#3
|
|||
|
|||
|
same question....
and the search for 'pseudoclasses' brought up nothing.....
I am totally new to the world of CSS but have decided to take the plunge. I am setting up the site to use external style sheets and I've been trying to find the answer in tutorials on the web but can't seem to find what I am looking for. Mind you I'm looking for a lot since at the mo. I really am a bit lost with the whole thing - I just figured that I should dive right in and learn as I go. Anyway that's a whole other story (but if one of you knows of a tutorial that really gets us that are wet behind the ear up and running..........) Please help..... jim |
|
#4
|
||||
|
||||
|
Check out this site for css: http://www.meyerweb.com/eric/css/ also try www.w3schools.com and their css section. Although www.htmlgoodies.com is a bit antiquidated, you can check their css section out too.
HTH Jamie |
|
#5
|
|||
|
|||
|
Re: Is it possible for CSS to specify different colors for multiple links?
Quote:
Well, what you're gonna want to do is use the above suggestions, and use the following type setup: Let's say we have the following code: PHP Code:
SO, the CSS is gonna look like this: PHP Code:
I think that'll do it! |
|
#6
|
|||
|
|||
|
Thanks a lot guys - I'll have a go at those suggestions.......
cheers, jim |
|
#7
|
||||
|
||||
|
Re: same question....
Quote:
Sorry 'bout that. It should be two words: 'pseudo classes'
__________________
"Not to offend our Swedish listeners ... if we have any, that is—" "—But your team's rubbish." (Sun webcast, Sweden vs. Paraguay) Who needs corporate radio? WeFunkRadio.com | Global Pop Conspiracy | Radio Paradise | SomaFM | The Classic Soul Network | Boot Liquor | WFMU Freeform Radio |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Is it possible for CSS to specify the color of a link? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|