Text Color is not showing correctly on my wordpress

asked May 16, 2012 in Website Builder by Susan3 (880 points)
I have a wordpress website and I’m having a problem with text color. It’s not displaying like it should be. The colors look different. When I view it in Ultimate Tinymce's visual mode it displays the right color, but when I preview my page it doesn't.
Here's the code that I’m using:
<p style="text-align: left;"><span style="color: #ff0000;"><strong><span style="font-family: courier new,courier; font-size: 18px;">TEXT</span></strong></p>
Instead of  red, it displays black. Links will display but regular text won't. I have no idea what’s going on. Does anyone know what could be the problem and how to solve it? Please help

3 Answers

0 like 0 dislike
answered May 16, 2012 by tareq101 (4,880 points)
You have a html error in you code.. open 2 <span> tags and close only one, check this up and see if the text color issue fixes .
0 like 0 dislike
answered May 16, 2012 by lionhost (4,060 points)
Try using Firefox with the Firebug add-on for this kind of CSS work.
0 like 0 dislike
answered May 16, 2012 by dona (4,540 points)
Change the code as following;
<strong><span style="font-family: courier new,courier; font-size: 18px; color: #ff0000;">TEXT</span></strong>