Grow your CSS skills. Land your dream job.

font size in ems

  • # August 24, 2008 at 3:42 pm

    (first try)—-
    i have given the body tag a size of 62.5%. and the wraper that hold my site a font-size of 1.2em (12px). and then on tag p (paragraph) a font-size of 1.0em. so shouldnt now all my p tags be 12px? (i havent declared other font-size in my site). firefox views the site ok. but ie6 renders the size smaller.

    (second try)—-

    i removed the font-size 1.2 from #wraper and added it to the p tag. still same effect, ie renders text size smaller. but if i put in pixels it works…

    # August 25, 2008 at 4:42 pm

    Hi moonlord -

    Can you post an example of your code? That might help troubleshoot. :D

    C

    # August 26, 2008 at 3:07 pm

    http://www.anuntultaugratuit.com/blog

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".