Advertisement

12.06.2007 at 04:59AM PST, ID: 23005831
[x]
Attachment Details

Apply style to table row when link is clicked

Asked by Rocker4500 in Extensible HTML (XHTML), Miscellaneous Web Development, Cascading Style Sheets (CSS)

Tags: table, cell, apply, link, row

OK what i have is th HTML document and a CSS document.

I have a table with several rows.  Each cell has a link in it, what i want is, that when any of the links in the same row are clicked i want it to apply some sort of style to it in which will change the height of the row.  e.g.

Table

Row1   Row1   Row1
Row2   Row2   Row2
Row 3   Row3   Row3

The above being the table, when any of the links in row1 are clicked the height of that row changes.  
I was thinking about using the onclick and applying a style to it....but i waasnt sure how to do that?

Cheers
GaryStart Free Trial
[+][-]12.06.2007 at 06:07AM PST, ID: 20419612

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Extensible HTML (XHTML), Miscellaneous Web Development, Cascading Style Sheets (CSS)
Tags: table, cell, apply, link, row
Sign Up Now!
Solution Provided By: bdichiara
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628