Grow your CSS skills. Land your dream job.

Funny em-based font-sizing – help!

  • # April 30, 2009 at 11:09 pm

    Hi all!

    I know, I know, I did it to myself. Please see http://www.racinewebworks.com/blog. Two different posts, two different days, two different sized fonts. What’s going on? I’m about bald over this one. Thanks!

    # May 1, 2009 at 2:23 am

    First off you got some invalid code which is confusing things.
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.racinewebworks.com%2Fblog%2F

    Also You’ve got some random code which I don’t think is helping any:

    Code:

    Hopefully that will get you started in the right direction.

    # May 1, 2009 at 9:05 am

    I figured it out, though I’m not pleased with the solution. I’m using Blogger to power the blog and FTP to my little site. The key is to use Blogger’s WYSIWYG to compose posts, and not work directly w/ the HTML. Blogger inserts </ br> instead of a new <p> for breaks, and this seems to help things. BTW, the wonky code is part of Blogger’s template, and I haven’t modified the template enough to safely remove the extra div. Finally, beware nesting em-based font sizes, it’ll get ya every time!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".