Get a free trial // 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 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.

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


    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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed