Forums

Corrupted fonts on home page (3 posts)

  1. dan@danmason.co.uk
    Member
    Posted 7 months ago #

    A couple of days ago, all body copy, main headers and sidebar headers on my blog home page (with the exception of the most-recently posted blog) suddenly became italicised.
    If I click on another page or link - all fonts revert to their original, correct roman state.
    The same thing appears using both Firefox and Safari.
    I've hunted through the stylesheets and am left scratching my head.
    Could someone with more brains than me spare a moment to have a look at http://www.danmason.co.uk
    I'd really appreciate it.
    Many thanks
    Dan

  2. whooami
    Member
    Posted 7 months ago #

    validate!

    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.danmason.co.uk%2F

    do you know what an <em> tag is ?

    it does this

  3. dan@danmason.co.uk
    Member
    Posted 7 months ago #

    Whooami ...
    Thanks a million for the concise but helpful advice. I didn't know what validation was and nearly had a fit when I followed your link to vailidator.w3.org and saw how many errors there were in my syntax.

    The reason text on my home page had become italicised was because I'd written Subscribe & Follow in a text widget header. The validation report picked it up like this (for anyone else who has the same problem):

    # Warning Line 423, Column 109: character "&" is the first character of a delimiter but occurred as data

    …class="widgettitle"><span>Subscribe & Follow</span></h3> <div class="textwi

    This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "<"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

    All I did was change & to 'and' and the problem with all fonts righted themselves.

    Thanks again
    Dan

Reply

You must log in to post.

About this Topic