Conditional Formatting
Posted: Mon 03 Dec 2012 7:05 am
Hello there,
I am hoping that somebody will be able fix me up with a little bit of code (I am not even sure if what I am wanting to do is possible). I would like to be able to change the text colour of the <#temp> and <#tempunit> outputs from their current green to say red when the value of the <#temp> tag reaches 38°C. For the want of a better term I would think that this would be considered 'conditional formatting'.
<td width="44%"align="left"valign="center"style="font-size:1400%"style="color:#228B22"><#temp><#tempunit></td>
http://home.exetel.com.au/retnuh/weather/lite.htm
I would imagine that if it can be done the code would be inserted in the line just prior to (style="color:#228B22").
Any help is greatly appreciated.
Alan
I am hoping that somebody will be able fix me up with a little bit of code (I am not even sure if what I am wanting to do is possible). I would like to be able to change the text colour of the <#temp> and <#tempunit> outputs from their current green to say red when the value of the <#temp> tag reaches 38°C. For the want of a better term I would think that this would be considered 'conditional formatting'.
<td width="44%"align="left"valign="center"style="font-size:1400%"style="color:#228B22"><#temp><#tempunit></td>
http://home.exetel.com.au/retnuh/weather/lite.htm
I would imagine that if it can be done the code would be inserted in the line just prior to (style="color:#228B22").
Any help is greatly appreciated.
Alan