Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Problem with conditional colors [Thread Next] Re: Problem with conditional colorsTo: NULL Date: 12/7/2004 1:37:00 PM On 6 Dec 2004 15:12:24 -0800, "Andrew Shepherd"
<shepherd_a@h...> wrote:
>I've sort of figured out what's going on.
>Anyway, if I defined the variable like this:
>
><xsl:when test="state = "Assigned"">
>#FF0000
></xsl:when>
>
>Then <tr bgcolor={$rowcolor}"
>
>would come out like this:
>
></tr>
><tr bgcolor="
>#FF0000
>" >
>
>Internet Explorer would somehow misinterpret this value.
>So the lesson I learnt there is: Line feeds are significant.
** In HTML attibutes which define colour values, yes, of course ;-)
>As an aside, I'm curious as to whether this should be considered a
>defect in Internet Explorer or not.
You've only just discovered IE is defective ?!?!
http://www.mozilla.org/products/firefox/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
