SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Jun 2006
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Should u use em or pixel for fixed layout?

    If creating a fixed layout should the text be in em or pixel based size? Does it matter?
    thanks

  2. #2
    SitePoint Wizard bronze trophy DaveWoods's Avatar
    Join Date
    Dec 2004
    Location
    Derbyshire - UK
    Posts
    2,651
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Pixel's will remain the same width even when text is resized whereas em's will scale accordingly.

    Personally I prefer to use pixel if I'm dealing with a fixed width as I'm sure that people who need text size larger don't actually want to be forced to use a horizontal scrollbar because the layout has become bigger as well.

    You have to consider this before working on a design though as you could potentially have problems with text size overflowing if you don't think about this so they both have their pitfalls.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •