WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] "Font Color" changes to "Span Style" (11 posts)

  1. davepoobond
    Member
    Posted 6 years ago #

    Umm...

    so i try putting in <font color ="ff0000">text</font> in the HTML editor

    and it changes to

    <span style="color: #ff0000;">text</span>

    when i go to the visual editor

    why does this happen? I thought 2.5 was supposed to not edit your html at all, but when i try to change the font color it adds an ugly highlight behind anything i want to change the color of. wtf.

  2. davepoobond
    Member
    Posted 6 years ago #

    bumpy

  3. Justin Tadlock
    Member
    Posted 6 years ago #

    You should never, never, never use this:

    <font color ="ff0000">text</font>

    Be happy that the editor is fixing this error for you.

  4. davepoobond
    Member
    Posted 6 years ago #

    well, what should i use instead so that i don't have a highlight behind it? :P

    besides, why does it really matter?

  5. boober
    Member
    Posted 6 years ago #

    theres no reason using a span vs font would give it a 'highlight' behind it. show us an example of what its doing. link with the issue.

    and it matters cause span is right and font is wrong.

  6. haochi
    Member
    Posted 6 years ago #

    "1997 called, they want their HTML back."

    "so that i don't have a highlight behind it" - that does the same thing as your original code.

  7. davepoobond
    Member
    Posted 6 years ago #

    here's an example:
    http://squackle.com/wordpress/?page_id=10829

    i dont know if its got something to do with the theme or not, but i can't find it anywhere in the CSS for the theme that would make that happen.

  8. haochi
    Member
    Posted 6 years ago #

  9. davepoobond
    Member
    Posted 6 years ago #

    dang, i dont know how i missed that. thanks for the help.

  10. obsidianights
    Member
    Posted 6 years ago #

    Sorry to hi-jack this post but I can't figure out how to post a new topic. Not only that but I am not sure how to get back here. Can someone help please? How to I create an original post/question.
    Thank you

  11. yankeesdaily
    Inactive
    Posted 6 years ago #

    This span thing is terrible!!! I just updated because I heard about bad things about the update and I'm VERY mad that I updated to this, this CRAP!!!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.