weird html for heading font

  • Author
    Posts
  • #852140

    quirkyhill
    Member

    can anyone help me check if all the words in this entry can be seen clearly? http://quirkyhill.wordpress.com/2012/03/21/in-praise-of-fruit-flies/

    i set this in heading 1: In praise of … fruit flies

    but somehow it appears as white and there’s a big gap between it and the text on top. i checked the html but there doesnt seem to be a problem. when i change to heading 2, the problems go away.

    also, are all text set into the heading font automatically centre aligned? many thanks!

    The blog I need help with is quirkyhill.wordpress.com.

    #852294

    justpi
    Member

    The styling of these elements is defined in the CSS of the theme. In the theme you’re using, h1 is white (because it’s used for the blog title, and the blog title is set against a colored background) and with a huge top padding; h2 is centered.
    But h tags have a meaning for search engines and screen readers, so setting some text as an h1 or h2 etc should only be used if that text is actually a heading, not in order to change the size of the text or whatever. To change the styling of the text, you need to use some coding in the HTML editor. See here:
    http://wpbtips.wordpress.com/2009/07/11/formatting-text-pt-5/

    #852399

    quirkyhill
    Member

    thanks!

The topic ‘weird html for heading font’ is closed to new replies.