Give help. Get help.

  • # June 21, 2009 at 11:54 am

    This might be a bit anal, but let’s say you have an EM based layout, and the value for ex.

    Code: {
    letter-spacing: 0.333em;
    font-size: 1.888;

    Should you then round any of these up? To 0.334em and/or 1.889em?

    # June 21, 2009 at 1:37 pm

    I don’t see why you should. According to this converter it doesn’t make a difference anyhow

    # June 21, 2009 at 6:17 pm

    Yeah, I mean you shouldn’t, right?
    But still, I swear I’ve seen it somewhere, and sometimes I wonder if rounding up certain EM’s haven’t made the browser "get it" right more often… If I could only remember in what browser, and what i did…

    And speaking of EM’s, btw. Why is everyone complaining so much about the conversion work from PX?? It’s fun! hehe. Math is my friend, today at least.
    No but seriously, it’s not that hard I don’t think, I really don’t get everyone’s beef. All it is, is simple logic. font-size: 1.5em (which is 15px) and you want the line-height to 21px?
    ( 1/15 ) * 21 = 1.4em – ‘lil tip

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

You must be logged in to reply to this topic.