RE: [PHP] what can be wrong here?{OT}
| From: | Jay Blanchard | Date: | Mon, 22 Mar 2004 14:04:30 +0000 |
| Subject: | RE: [PHP] what can be wrong here?{OT} | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-181141@lists.php.net to get a copy of this message | ||
[snip]
In CSS file all links are black:
/* Part from CSS file */
a:link{color:#000000; text-decoration: none;} /*unvisited link*/
a:visited{color:#000000; text-decoration: none;} /*visited link*/
a:hover {color:#000000; text-decoration: none;} /*mouse over link*/
a:active { color:#000000}
[/snip]
Actually the is a CSS question and how it affects differewnt browsers.
Your PHP code is OK. This is OT, but it has to do with the order of your
a: statements in the CSS code (an issue that first cropped up a couple
of years ago IIRC). I do not remember the order exactly, but I think
that 'visited' must be first and 'hover' second. You will probably have
to play around with it.