Changing the color of text in Mozilla Firefox
Posted: Sat Sep 25, 2010 9:03 pm
[text]
echo "<br><br>List Price: <strike><font color=#ff0000 size='+2'><strong>\$$List_Price</strong></font></strike>";
[/text]
Works fine in IE, changing the $List_Price display text to red from black, makes it bold, increases the size, then puts the text back to regular black... does what we want.
In Firefox, it does everything but change the color of the text to red.
Apparently, Firefox requires css to do text color changes. IE will probably accept the same css. However, we cannot find any documentation that tells us how to make a css element that will allow us to change the color on the fly. Ideally, it would be an element that would also change the bold and size.
echo "<br><br>List Price: <strike><font color=#ff0000 size='+2'><strong>\$$List_Price</strong></font></strike>";
[/text]
Works fine in IE, changing the $List_Price display text to red from black, makes it bold, increases the size, then puts the text back to regular black... does what we want.
In Firefox, it does everything but change the color of the text to red.
Apparently, Firefox requires css to do text color changes. IE will probably accept the same css. However, we cannot find any documentation that tells us how to make a css element that will allow us to change the color on the fly. Ideally, it would be an element that would also change the bold and size.