I am drawing a table using CSS and I realized that IE8 does not support :nth-child
So, before I added IE8 support, css looked like this
.my-comments table.comments-list tr td:nth-child(1){width:18%;}
Then I added another selector like
.my-comments table.comments-list tr td:nth-child(1), .my-comments table.comments-list tr .datecol{width:18%;}
IE8 doesn't like it, it doesn't recognize the second selector, but if I select the first one as shown below, it works
.my-comments table.comments-list tr .datecol{width:18%;}
Any ideas how to fix this?
Obviously, I could just use the code above, but I would like to leave in both selectors for future browsers
source share