Jump to content

Width In Ems


jimfog

Recommended Posts

Is there any reason i should use ems when setting the width for elements and not px or percentage? I mean,we use ems when setting font-size, do you believe we should use it in other occasions too?

Link to comment
Share on other sites

I've used it on occasion, but I haven't found any advantages to it. I'd stick to pixels because if you use ems you could accidentally get boxes too big or too small (because you can never know exactly what size the browser will use for an em)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...