I have a table with three rows and I need to address the second row only. I cannot change the table in any way, I can only use css to address it. Does anyone know how I can use pseudo-classes (http://www.w3.org/TR/2001/CR-css3-se...ctural-pseudos) to address the second row only, or every other row would work as well since I only have three rows. The table roughly looks like this:
I'm new to pseudo-classes and I've been trying it for a while but I can't get it to work. I test my results in FF3 and IE. Please help me, thanks!Code:<table> <tbody> <tr> <td></td><!-- first row, I don't care weather it's addressed or not ---> </tr> <tr> <td></td><!-- second row, I want to address this one ---> </tr> <tr> <td></td><!-- third row, I don't want this one to be addressed ---> </tr> </tbody> </table>



Reply With Quote

Bookmarks