I am in a need to apply a style to the table which is placed in the third row of another table,
<html> <head> <title>HTML Table</title> </head> <body> <table class="wizard-ux"> <tbody> <tr> <table> <tr> <td>test Table 2</td> <td>test Table 2</td> </tr> </table> </tr> <tr> <table> <tr> <td>test Table 2</td> <td>test Table 2</td> </tr> </table> </tr> <tr> <td> <table> <tr> <td>Save (Width has to be 90%)</td> <td>Cancel (Width has to be 10%)</td> </tr> </table> </td> </tr> </tbody> </table> </body> </html> since this is asp.net wizard I don't have id or class for the child table, the only reference is "wizard-ux" of the parent. I need to set the width of the first column as 90% and second column as 10% through CSS,
can somebody suggest a CSS for this,
thanks in advance,
nth:child(x)?table.wizard-ux tr:last-of-type tabletable.wizard-ux tr:nth-child(3) tr td:nth-child(1) { width: 90%; } table.wizard-ux tr:nth-child(3) tr td:nth-child(2) { width: 10%; }