|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
CSS Link color
ok, heres the problem:
ive got top navigation, its included <php include > and i want those links to be #FFFFFF and onther links on the site to be #000000 i'm trying all things with A:link { } and stuff, but it aint working. all links all the same color (white or black) the i've tried to add a new style .nav { fot description and stuff} .nav:link {....} but it still doesnt work. please help greetz robert |
|
#2
|
|||
|
|||
|
Robert,
Try this: For your main site color: PHP Code:
HTH...
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
|
#3
|
|||
|
|||
|
ok, it aint working...
it included by <link href="style.css" rel="stylesheet" type="text/css"> but it just wont work right... the navigation has as style .NAV and the rest of the site .STYLE can some tell me what is wrong with this code ? PHP Code:
GreetZ robert |
|
#4
|
|||
|
|||
|
how are you calling your nav links?
it should be like this <a href="test.html" class="nav">Link</a> |
|
#5
|
|||
|
|||
|
yes, i was adding class="nav" just to the table, not to each link...
thx, its working now !!! yeah greetzzzz robert |
|
#6
|
|||
|
|||
|
dear sirs
i think i got a problem like this i have smartor ezportal installed and in the block of welcome controlled by the line <td class="th" height="25"><span class="oi"> Welcome {U_NAME_LINK} !!</span></td> i change the color of styles "th" and "oi" and the word "welcome" change its color but the username color, called by {U_NAME_LINK} still remain the same if i go in the template.css and change the color of link class, this {U_NAME_LINK} change its color but all other links in the page change its color too.. i just want to change the color of {U_NAME_LINK} .. how can i do it?? what command i must imput?? i need to create another class?? the posted awsers seems to offer the solution but iam a begginer and did not get it all thanks by the patience. |
|
#7
|
||||
|
||||
|
Deja vu! A two year old thread!
You might have better results in a new thread as your question is somewhat out of scope of the previous discussions. I don't think this is directly a CSS question... However... if {U_NAME_LINK} is replaced by anchor tags, you could set your CSS to read: .oi a {color:#0c0;} if your anchor tags are rendered with a class, you might be best to use the actual name and not a |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > CSS Link color |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|