Although you can override the
appearance of tags, you can't actually define new tags. Although CSS might now how to handle tr2, the browser doesn't and doesn't know it's supposed to render it as a tr.
Try to set an id or class, like this:
Class
<tr class="SomeClass">
CSS:
.SomeClass
{
color: blue;
}
ID:
<tr id="SomeID">
CSS:
#ID
{
color: blue;
}
IDs must be unique within a page, while classes can be used multiple times.
Check out Richard York's excellent
Beginning CSS if you want to know all about CSS.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.