A simple question of color

5 replies
  • WEB DESIGN
  • |
Ive turned to the experts that may be able to help in this small dilemma
I have a Wordpress blog and I cannot, for some reason, see red
<font color="Red"><h1>NEWSFLASH</h1></font>
If I add this to my usual html editor it works fine
But in Wordpress it stays black no matter what variations I try.
Can anyone make a suggestion here?

Mike
A grateful Warrior
#color #question #simple
  • Profile picture of the author TheWorker
    Instead of
    color="Red"

    try
    style="color: red;"
    or
    style="color: #FF0000;" (or "#800000" for a darker red)

    The inline style will override any style sheet color definitions.
    {{ DiscussionBoard.errors[5069789].message }}
    • Profile picture of the author TheWorker
      PS: Just realised the H1 tag. Put the style in the H1 tag:-

      <h1 style="color: red;">NEWSFLASH</h1>

      You can delete the FONT tag
      {{ DiscussionBoard.errors[5069805].message }}
  • Profile picture of the author Jason Z
    Yes, do it as a style and not a font tag. The font tag is old code.

    Here's a quick css reference CSS Reference
    Signature
    Co-Founder of the Local Profit Model Training Program for Offline Consultants

    Jason Zimmerman is an offline marketing and consulting professional. He has been developing web sites and digital marketing plans for local businesses since 2000.
    {{ DiscussionBoard.errors[5070170].message }}
  • Profile picture of the author amritrr
    Keeping yourself updated with the latest developments in the field of html could be challenging. Specially when it changes so fast.
    {{ DiscussionBoard.errors[5070642].message }}
  • Profile picture of the author mjming81
    Thank you all, It is now "red". I'm not quite sure what happened there, or the why with "font" included it didn't work- oh well! Thanks again for your help.
    I've bookmarkd that CSS Guide also. Should prove handy.
    Mike
    {{ DiscussionBoard.errors[5073860].message }}

Trending Topics