coloring a variable's printed value

Quantus
I have been using <font color = "red"> This is my text </font> to color my text, but I can't get it to color variable output.

If you have a variable and it holds a number, lets say 50.. I want that 50 to print it red, but it always prints in white. I get errors when trying to use the above to color the text. The same thing goes for bold. I can't get it to bold output either. it's just always white normal text.

jaynabonne
Can you please specify how you're printing "variable output". Is this with a standard print message, or is this a status variable, or..? Normal HTML tags should work fine when doing output, so I'm not sure what the situation is that you're encountering.

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums