读书人

请教:怎样给font增加背景颜色

发布时间: 2012-02-13 17:20:26 作者: rapoo

请问:怎样给font增加背景颜色?
<font style= ' '>
<xsl:choose>
<xsl:when test= "$fc> 1 ">
<xsl:attribute name= "backgroundcolor "> red </xsl:attribute>
<xsl:attribute name= "color "> #AAFFAA </xsl:attribute>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
<xsl:value-of select= "format-number(number($d1), '.00 ') "/>
</font>

上面语句 <xsl:attribute name= "backgroundcolor "> red </xsl:attribute> 不起作用


[解决办法]
background-color这样
xml不大懂
css里的话就是background-color
js里的话是backgroundColor

读书人网 >XML SOAP

热点推荐