The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Should you round up a 3 digit EM ? Re: Should you round up a 3 digit EM ?


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