Since a Label is rendered as a SPAN, you could create a Label
web control whose ForeColor property is set programatically.
If a Label's Forecolor is set to Red and the browser is IE,
the following HTML 4.0 markup will be rendered :
<span id="controlID" style="color: red">Label Text</span>
If, however, the visitor uses Netscape 4.x, they'll get HTML 3.2-compliant markup.
The HTML for the Label web control would specify the color
using a <font> element rather than a style attribute in the <span> :
<span id="controlID"><font color="red">Label Text</font></span>
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ :
http://asp.net.do/faq/
Foros de ASP.NET en Español :
http://asp.net.do/foros/
======================================