Results 1 to 7 of 7

Thread: How to disable Text Size property on Internet Explorer

  1. #1
    Join Date
    Nov 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to disable Text Size property on Internet Explorer

    Hello,

    Ok, I want to know how can I disable text size property to Internet Explorer browser. I need that if user try to make text size bigger, he/she can not do that.

    Thanks, sorry for my english!

    Dot!

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    1) Very very bad idea.
    2) (Mostly) impossible.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Nov 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Why is a bad idea?
    It's possible I know - but I don't know how do it!

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    It's a very bad idea because, no matter how good a web designer you are, you cannot anticipate how your page will be displayed on every single possible system. For those with systems you haven't anticipated, the user (or the browser) will resize the text. If you do this, your page will become next to unreadable in those situations.
    It is probably possible if you do something stupid like specifying your text size in pixels. However, as mentioned before, it's one of the worst design mistakes you can make. If the rest of your site doesn't look good when the text is resized, then it's the rest of your site that's the problem, not the text.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Dot
    Why is [trying to disable text resizing] a bad idea?
    The resize or zoom controls in a browser are an accessibility feature.

    If you chose a reasonable font size (preferably by leaving it alone), a user won't want to fiddle with their settings. However, if the size is too small, a user will need to change it otherwise they won't be able to read the text. This is one reason why creating images containing text can also be a bad idea (large images like some logos shouldn't be a problem).

    If your design falls apart when a user changes their font size, then either the design is faulty, or the implementation of it is.

    Mike

  6. #6
    Join Date
    Jun 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Disabling text size in IE is a great idea because it is the only browser I have trouble with in this regard. In fact when it comes to lay-out, IE gives me more problems than any other browser!!!
    Not only that but I have checked out a number of big name sites (here in Australia) and they all disable text size.
    Although I am hand coder I have noticed Joomla automatically disables it.

    WTF

  7. #7
    Join Date
    Feb 2008
    Location
    Buenos Aires, Argentina
    Posts
    15
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    You don't need to disable it at all, just need to avoid IE being able to apply text sizes. If you use stylesheets for all texts layers and tables, IE won't be able to control text size. Just apply a stylesheet in pixels to every object in your site. Regards.

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
  •