Isaac
asked on
Conditional formatting partially working
Hi All,
I have a web part page with a list and used conditional formatting to changed the color and font-weight.
In SP designer 2010 both color and bold font render correctly but in the browser, the bold shows but the color does not.
Any ideas why that is?
Here's the xslt:
I have a web part page with a list and used conditional formatting to changed the color and font-weight.
In SP designer 2010 both color and bold font render correctly but in the browser, the bold shows but the color does not.
Any ideas why that is?
Here's the xslt:
<xsl:attribute name="style">
<xsl:if test="normalize-space($thisNode/@Status) = 'Complete'" ddwrt:cf_explicit="1" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime">color:Green; font-weight: bold;</xsl:if>
<xsl:if test="$Collapse">display:none;</xsl:if>
</xsl:attribute>
Just a quick guess. color names are all lowercase change Green to green and maybe we get lucky.
Cd&
Cd&
ASKER
No luck there!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Found it can't be done unless I use jQuery or something or if I apply conditioning to each column instead of the row.
ASKER