Results 1 to 2 of 2

Thread: Stop people increase text size?

  1. #1
    Join Date
    May 2006
    Posts
    22

    Stop people increase text size?

    I have an iframe that has mostly images, but also number in it (here).

    If someone increases the font size on their browser, the numbers increase and the iframe gets vertical scroll bars. How do I stop that text from increasing in size? My whole site is done out in ems from css.

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    IE6 will let you fix the font-size if you use px or pt instead of ems or relative names like medium.
    See http://www.456bereastreet.com/archiv...ize_in_pixels/
    Except for one. Internet Explorer for Windows is the only browser that does not let the user change the size of text that has a font size set in pixels.

    Firefox and other browsers do not let you fix font sizes at all. This is because they conform to standards which allow partially sighted people to adjust font size.
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Posting Permissions

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