RE: [PHP] How to swap the table's bg color with php
| From: | chris dot neale at somerfield dot co dot uk | Date: | Fri, 03 Oct 2003 12:33:51 +0000 |
| Subject: | RE: [PHP] How to swap the table's bg color with php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-164890@lists.php.net to get a copy of this message | ||
Try using stylesheets instead of javascript. I think you need to use :hover
on either the td element and then specify a style. background-color I think
it is.
I haven't got my HTML reference handy and can't remember the specifics, but
that's the general idea.
Hope that's of some use.
Regards
Chris
-----Original Message-----
From: Jack [mailto:nedcor4@nedcor.com.hk]
Sent: 03 October 2003 10:12
To: php-general@lists.php.net
Subject: [PHP] How to swap the table's bg color with php
Dear all
I had write a script using php,which will pull the values from a mysql table
to display in HTML.
now i want to add a function which when the mouse had move over a table
cell, the background of the table cell will turn to other color!
Is anyone know how i can perform this task?
Thx alot!
Jack
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you are not the intended recipient of this e-mail, please preserve the
confidentiality of it and advise the sender immediately of any error in
transmission. Any disclosure, copying, distribution or action taken, or
omitted to be taken, by an unauthorised recipient in reliance upon the
contents of this e-mail is prohibited. Somerfield cannot accept liability
for any damage which you may sustain as a result of software viruses so
please carry out your own virus checks before opening an attachment. In
replying to this e-mail you are granting the right for that reply to be
forwarded to any other individual within the business and also to be read by
others. Any views expressed by an individual within this message do not
necessarily reflect the views of Somerfield. Somerfield reserves the right
to intercept, monitor and record communications for lawful business
purposes.