Skip to main content
Inspiring
July 28, 2008
Question

css with tables

  • July 28, 2008
  • 2 replies
  • 280 views
hello

i have created a table, that is populated with xml data. when i click on the table row, a pic is displayed in another div. this is working fine.

when i click on the table row, i want that rows background to change to a different colour, which is obviousley a css question. so what event needs to be used in my css file?

hope you can help
This topic has been closed for replies.

2 replies

malcster2Author
Inspiring
July 28, 2008
by events, i meant hover and selected

as i am using dw cs3 spry tables, it's quite easy to attach a class for hover and selected as a built in option when setting up the table, so this is no longer a problem
Inspiring
July 28, 2008
> so what event needs to be used in my css file?

You cannot put events into a CSS file.

But, you could try using DW's ChangeProperty on the link in the HTML, so
that it changes the background color for the row, as you want.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"malcster2" <webforumsuser@macromedia.com> wrote in message
news:g6kakl$jfg$1@forums.macromedia.com...
> hello
>
> i have created a table, that is populated with xml data. when i click on
> the
> table row, a pic is displayed in another div. this is working fine.
>
> when i click on the table row, i want that rows background to change to a
> different colour, which is obviousley a css question. so what event needs
> to be
> used in my css file?
>
> hope you can help
>