Hi,
I have table formatted like so:
And I want to style the first ".upcoming", so my CSS looks like:HTML Code:<table id="challengeDates"> <tbody> <tr> <td class="past">whatever</td> <td class="upcoming">stuff</td> <td class="upcoming">goes</td> <td class="upcoming">here</td> </tr> </tbody> </table>
But this isn't working but I'm not sure why. I guess that I'm not targeting the element correctly, but I'm not sure what I'm doing wrong. Any thoughts?Code:#challengeDates .upcoming:first-child { font-weight: bold; }


Reply With Quote

Bookmarks