![]() |
|
#1
|
||||
|
||||
Changing PHP list link colorNot sure how to fix this one. I have a dynamically generated navigation bar and I want to change the default link color. Right now it's the standard blue/purple link colors but I can't figure out how to make the colors change.
I've tried changing the .css file the php script accesses but that only changes the bullet colors; apparently because the list is dynamically made it doesn't "understand" CSS. Here's the CSS file: CSS Code:
Here's the PHP file I'm using: PHP Code:
Is there an easy way to fix this or should I just live with it? __________________
Start Programming with Python-A beginner's guide to programming and the Python language. ------------- Common Sense v2.0-Striving to make the world a little bit smarter. |
||||
|
#2
|
||||
|
||||
Re: Changing PHP list link colorHey Cody, do you have a "live" page showing this problem?
Mark __________________
"Opportunity is missed by most people because it comes dressed in overalls and looks like work." --Thomas Alva Edison "Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety." --Benjamin Franklin "A happy person is not a person in a certain set of circumstances, but rather a person with a certain set of attitudes." --Hugh Downs |
|
#3
|
||||
|
||||
Re: Changing PHP list link colorAssuming this is the markup:
HTML Code:
Update your stylesheet inserting something like this (assuming you want the links to be white): CSS Code:
|
|
#4
|
||||
|
||||
Re: Changing PHP list link colorQuote:
I'll try what J suggested and see what happens. __________________
Start Programming with Python-A beginner's guide to programming and the Python language. ------------- Common Sense v2.0-Striving to make the world a little bit smarter. |
|
#5
|
||||
|
||||
Re: Changing PHP list link colorHey thanks, J. It's working now. I didn't realize I needed the li tag for each link; I only remember using a:hover etc. the last time I did color changes.
__________________
Start Programming with Python-A beginner's guide to programming and the Python language. ------------- Common Sense v2.0-Striving to make the world a little bit smarter. |
Recent GIDBlog
Accepted for Ph.D. program by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Include] Doubly-linked List | dsmith | C Programming Language | 6 | 14-Apr-2006 14:12 |
| Help with syntax errors | PeteGallo | C Programming Language | 7 | 08-Aug-2005 21:30 |
| linked list error message | Krandygrl00 | C++ Forum | 4 | 22-Jun-2005 15:13 |
| search linked list | itsmecathys | C++ Forum | 20 | 18-Apr-2005 02:34 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The