Forums

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

Home Forums CSS benefit of using em’s instead of px’s

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27459
    vijaysuman
    Participant

    What’s the benefit of using em’s instead of px’s?

    #69026

    I’m guessing you mean using ems rather than px when sizing text?

    Ems are based on percentages, which means they can increase/decrease in size if the user changes his default font size in the browser. Unfortunately, IE will not allow readers to resize text that has been sized in pixels. Basically, it’s an accessibility thing — ideally, the visitor should be able to increase/decrease their text size if they choose.

    More info: http://www.clagnut.com/blog/348/

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.