I have the following problem, I have a table that has another table inside one of its elements, the inside table is affected with one property that is in a CSS file. I hope I explain it OK(here is a piece of the code).
<body> <table bgcolor="#000000"> <tr> <td valign='top' id='test'> <table width='100%' border='0' cellspacing='0' cellpadding='0'> <tr valign='middle'> <td> <div>This is some text</div> </td> </tr> </table> </td> </tr> </table>
My problem: I need to take the name of the property that is affecting the inside table, I don't know the name of the property(here in the example is 'test'), I need to provide a solution that is dynamic, the name of the property is no always the same(not always 'test').
I was thinking in a solution but I get stuck, I was thinking to take the property of the parent of the object, but also I don't know how many parents my objects has.
I hope you can help me, and I hope I explain my problem OK