your syntax is wrong. (and a bit of your concept).
table.gridtable td2 {} shoud be : table.gridtable .td2
that’s the problem with your syntax… but then you have a thinking error… because if you coded that way you would need to give the class=“td2” all the cells in you want o highlight…
I swear I don’t like to put myself down but is this stuff hard, or does it tak a while to pick up? I have been at it for some time now (not this table but css/html)
Of course it is hard. Easy for some.
Thanks heaps guys so quick I love tis place so much!!!
I swear I don’t like to put myself down but is this stuff hard, or does it tak a while to pick up? I have been at it for some time now (not this table but css/html)
Four years and counting over here : )
I’ll suggest that you make user of awesomeness in markup known as thead and tbody. There are also scope attributes. They are teh awesome.
One interesting thing: on most browsers, you could actually style the tr itself. IE, for whatever reason, requires you to do it as you’ve been doing it:
tr td {
background-color;
}
And if it weren’t that you were styling for IE6, we’d even leave off the class. But writing for IE6 is good for you. You’ll stay ahead of this upcoming generation of kids who never heard of Haslayout and always had something like Firebug at their beck and call. Lawlz.
We’ll become like this dying breed of crusty old Master Foos, where when young Nubis wander cluelessly into our midsts, we’ll hobble out of the inky shadows and pronounce things of great knowledge and wisdom in our gravelly voices while stamping our canes onto the stone floors for emphasis: “…in my day…” “…uphill both ways…” “…bugs up to our hips…”