I am looking for a way to customize the first element in the table headers row using CSS without relying on :first_child selector.
Example Code:
<asp:TemplateColumn HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">
<HeaderTemplate>
<span><asp:Literal id="header" runat="server" Text="<%$ Resources:index, IndexSearch_Header_Product %>" /></span>
</HeaderTemplate>
<ItemTemplate>
<asp:HyperLink runat="server" ID="productLink" />
</ItemTemplate>
</asp:TemplateColumn>
Is there a way to add an ID for styling directly on the td/th element itself?