Quote:
|
Originally Posted by mtilori
I have a table that contains name and address data. When a row is clicked I want to change the backgound color (blue) of that row. (I have this working). If another row is clicked I want to change the background color of the previous row clicked to the original color (white) and change the new row clicked to blue. Any help would be appreciated.
|
I am presuming that these 'rows' you are speaking about are actually links.
If so there are several different ways you can accomplish this, either directly into the HTMl coding or by Style Sheet (CSS) if you use it. If not, we can create one.
If you have a link to the page where you are trying to achieve this, that would be helpful, if not, just copy and paste what you have done of the table so far, in here.
If you simply wish to have the different colors incorporated into the table, that is just as simple.
What to remember is that TABLES consist of DATA CELLS which are identified within the tags <TD> </td> , within these tags you can set a variety of parameters, such as width, color, alignment etc., whilst also having an overall background color for the table, or no color at all!
Give me some more info and we'll see what we can do.