coloring a variable's printed value
Quantus
17 Jan 2016, 21:08I 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.
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
17 Jan 2016, 22:40Can 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.