I need help with styling a html table that contains another html table. Specifically, I want to apply different css rules (padding and margin) to the td element that holds the child table.
My goal is to set padding: 5px;
for all td elements except the one containing the child table. Since the table is generated dynamically, I cannot manually style each td element. I have attempted to use jQuery without success.
The parent table is created within a GridView in an ASP.NET environment. I am using the EmptyDataTemplate to display a child table that mimics the main GridView if there is no data present.
I would appreciate any assistance in resolving this issue. Thank you.