Re: Problema con php y html
| From: | jcgalici at agc dot com dot mx | Date: | Tue, 11 May 2004 06:59:47 +0000 |
| Subject: | Re: Problema con php y html | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-48405@lists.php.net to get a copy of this message | ||
Mensaje citado por Adrian <adrian.cid@facinf.uho.edu.cu>:
> Prueba esto:
>
> echo '<tr onMouseover=" ' . "this.bgColor= '#80A0FF' " .
> '
> "onMouseout="this.bgColor= ' . " '#EFF6FF' " . '
> ">';
Una opción con, en mi opinión, más futuro es usar CSS.
En el <HEAD> agrega:
<STYLE TYPE="text/css">
TR { bgcolor : #EFF6FF; }
TR:hover { bgcolor : #80A0FF; }
</STYLE>
Y eso debe ser suficiente para que funcione. Para más datos visita:
http://www.webestilo.com/css/index.phtml
(me lo acaba de sugerir Google, ya comentaras que tan útil es)
Saludos,
Toño.