The TH object reflects the TH element. While a TH element may inherit a number of visual properties from containers (e.g., the bgColor of a THEAD element), those inherited property values are not automatically assigned to the TH object. Therefore, just because a header cell may have a yellow background color doesn’t mean that its bgColor property is set at all.