I imagine that the attribute was being created, but was being ignored by your rendering engine. (It is possible, but not probable, that an overzealous XSLT processor would refuse to create attributes it 'knows' are bad in html output mode.) You would have to look at the source (i.e. the serialized output of the translation) to see.
from memory (and I've not used this style of HTML for some time).
There is a valid attribute "bgcolor" for a table cell element but there isn't a valid attribute "color" nor "forecolor".
So you can assign the bgcolor attribute a value because it exists within the html spec.
You cannot set the "color" or "forecolor" attribute because neither of those attributes exist within the html spec for a <td> tag.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.