Has anyone tried to define a custom table class that utilizes an image on the first row (header row of the table) ?
Using the following results in the alt2 image continuing to display on row 1 of the table:
Code:
/* ***** Test Table *****/
.stg_table_test {border:1px; padding: 2px;}
.stg_table_test th {background-image: url(forums/images/style/head.gif);}
.stg_table_test td {border: 1px; #C08F52 solid;}
.stg_table_test .alt1 {background-image: url(forums/images/style/alt1.gif); }
.stg_table_test .alt2 {background-image: url (forums/images/style/alt2.gif); }
/* ***** Test Table End *****/
I also tried using .stg_table_test th {background:#FFF} just to see if I could turn the background for the first row white but it continued to display the alt2 image.
I must be missing something.