|
Posted by Sonnich Jensen on 09/12/07 16:14
On Sep 12, 4:37 pm, "Jonathan N. Little" <lws4...@centralva.net>
wrote:
> Sonnich Jensen wrote:
> > The "aa" is my idea, it is for a clickable table, which works well -
> > idea: the entire row should change from red to blue when clicked.
>
> In addition to what the others have said, CSS is not programming
> language so it really does not have events. If you want change as a
> result of a "click" then your solution would require JavaScript. CSS
> does have a pseudo-class that blurs the line here by trapping the mouse
I found a solution which meets my need. By moving some stuff to <td> I
found a way. onmouse and onclick are placed in <td> and <tr> and that
does the trick.
Fortunately, I dont have any place to upload a demo.
BR
Sonnich
Navigation:
[Reply to this message]
|