Forum Moderators: open
<font size="{review/format/text/@size}" face="{review/format/text/@font}" color="{review/format/text/@color}">
<table colspan="3px">
<xsl:for-each select="review/specs/spec">
<tr>
<td><b><xsl:value-of select="@name"/>:</b></td>
<td align="right"><xsl:value-of select="@value"/></td>
</tr>
</xsl:for-each>
</table>
<br/>
Any ideas on how to fix this? Thanks.
It looks to me like a rendering question, not an XSL problem-- IE is not applying your <font> styles to <table> contents. But in this day and age there's no good reason to use <font> in the first place.
<table colspan="3px">
Maybe you could replace the font definition with something like
<style type="text/css">
<xsl:value-of select="concat('td {color: ',review/format/text/@color,'; font-family: ', review/format/text/@font,';}')" />
</style>
Or perhaps better, @import external stylesheets which control the visual display. Or if you have a set number of color/typeface/size combinations, you could output a class or id to the table as might be appropriate, defined in a single external stylesheet.