Friday, July 10, 2009

Optimizing code while styling HTML table rows

When specifying the css class name to be used for a tr HTML element, so as to specify the style for a HTML table row element , we need not explicitly specify the classname for all tr tags if all tr's have same styles. Rather we can only explicitly specify the classname for the first tr tag . By doing so subsequent tr tags will implicitly have the required style

No comments: