How To Design A Site That Will Allow User To Change Font Size In Ie

Discussion in 'HTML & Website Design' started by mjp92122, Nov 1, 2006.

  1. #1
    In some websites, the text size will change if a visitor is using Internet Explorer and selects "View" > "Text Size" > (then select small to large text size). Can someone tell me what is required in order to make that happen?

    Any help is greatly appreciated.
     
    mjp92122, Nov 1, 2006 IP
  2. sabian1982

    sabian1982 Notable Member

    Messages:
    2,028
    Likes Received:
    161
    Best Answers:
    0
    Trophy Points:
    210
    #2
    font-size: xem; (where x is the size)

    So to get a size of roughly 14px on a medium setting you'd need to put,

    font-size: 1em;

    You'll then find when the View > Text Size option is used the font will change in size!

    Alternatively you can use percentages,

    font-size: 120%;
     
    sabian1982, Nov 1, 2006 IP
  3. fordP

    fordP Peon

    Messages:
    548
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Use CSS and really either EM's or Pixels for your font size.

    All sites should be able to have their text manipulated by IE
     
    fordP, Nov 1, 2006 IP
  4. sabian1982

    sabian1982 Notable Member

    Messages:
    2,028
    Likes Received:
    161
    Best Answers:
    0
    Trophy Points:
    210
    #4
    Erm... if you use pixels (px's) though he wont be able to achieve the effect he requires...
     
    sabian1982, Nov 1, 2006 IP
  5. fordP

    fordP Peon

    Messages:
    548
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    0
    #5
    IE has the ability to modify text sizes that are in pixels
     
    fordP, Nov 1, 2006 IP