Sitepoint Members,

Why won't the color of my H2 get picked up?

CSS
h1,h2,h3{color:#9F9FFF;line-height:1.2}
h2{font-size:130%;margin:3% 0 2%}


HTML

<table><tr><th><h2><a href="/abc.html">Example A</a></h2></th>
<th>&nbsp;&nbsp;&nbsp;&nbsp;</th>
<th><a href="/xyz-test.html"><h2>Example B</h2></a></th></tr></table><br /><br /><br />

This code creates a white "Example A" of h2 size heading and a white "Example B" h2 size heading.
The code also causes errors in the code for Example B:
line 99 column 5 - Warning: missing </a> before <h2>
line 99 column 60 - Warning: inserting implicit <a>
line 99 column 113 - Warning: discarding unexpected </a>

Why isn't the purple color of the H2 for Example A being picked up?
When I fx the warning errors I get a white h2 font.

Thanks,

Chris