WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Font Color Will Not Display Properly? (4 posts)

  1. Aedryan Methyus
    Member
    Posted 2 years ago #

    For some strange reason my text color will not display properly. 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 my code:

    <p style="text-align: left;"><span style="color: #ff0000;"><strong><span style="font-family: courier new,courier; font-size: 18px;">TEXT</span></strong></p>

    It's supposed to be red, but it displays black. Links will display red just fine, but regular text won't. What the heck?

    Any ideas you guys?

    Thanks for any help or suggestions.

    ~ Aedryan

  2. jnhghy
    Member
    Posted 2 years ago #

    Hi,
    You have a html error from what I see you open 2 <span> tags and close only one, check this up and see if the text color issue fixes also.
    Regards

  3. esmi
    Forum Moderator
    Posted 2 years ago #

    Try using Firefox with the Firebug add-on for this kind of CSS work.
    http://getfirebug.com/

  4. Aedryan Methyus
    Member
    Posted 2 years ago #

    Disregard! DUH! Sorry to have wasted space on the internet with that ridiculous post! lol

    Fixed it with:

    <strong><span style="font-family: courier new,courier; font-size: 18px; color: #ff0000;">TEXT</span></strong>

    ~ Aedryan

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags