How to disable html text zooming

Discussion in 'HTML & Website Design' started by sagsai, Sep 29, 2007.

  1. #1
    Hello friends, please don't laugh at my question.. I am a novice in html.
    I need to know if it is possible to disable zooming of text in html & if yes then how. I dont want to use flash for texts for several reasons.
    I need this feature so that text from buttons or text having any background images do not come out of its actual position.

    Any information in this regard would be of great help.
    Thanks in advance.
    Sagar
     
    sagsai, Sep 29, 2007 IP
  2. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #2
    I think this should not happen..
    Can you show the example ?
     
    MeetHere, Sep 29, 2007 IP
  3. krt

    krt Well-Known Member

    Messages:
    829
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    120
    #3
    You can use points for font sizes but I strongly recommend against doing this. Having the site not look as good at other font sizes is not an excuse to remove one of the fundamental methods for greater web site accessibility.
     
    krt, Sep 29, 2007 IP
  4. Jul

    Jul Peon

    Messages:
    162
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I think it's impossible to prevent text from zooming in/out. It can be done in IE if pixels are used to define the text size, just as KRT said. However, Firefox or Opera will ignore this and still allow increasing the font size.
    In addition, it is not recommended technique because some people won't be able to read the content.
     
    Jul, Sep 29, 2007 IP
  5. kkrizka

    kkrizka Peon

    Messages:
    223
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I agree with you, disabling text zooming is very bad for accessibility. People that have trouble seeing, or are sitting father from the monitor, like to make their font very big.
     
    kkrizka, Sep 29, 2007 IP
  6. sagsai

    sagsai Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hello friends, thanks for your replies..

    actually I myself have the viewing problem & I do have to zoom in while reading. So in most cases I see texts coming out of their intended position, text getting away from their background position etc.
    So while developing my site I want to avoid these things from happening because they destroy the beauty of the site.

    Also I dont want to completely disable zooming in. I just want that the whole page(& not just the text size which happens in firefox) is increased ro decreased in size at the same time as can be seen in opera or IE 7.
    Is it possible to make it happen in firefox too(without using flash)?
     
    sagsai, Sep 29, 2007 IP
  7. kkrizka

    kkrizka Peon

    Messages:
    223
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Ahh, I don't think it's something you can do in Firefox. It all depends on the zooming that the browser implemented, it is independent of the code. But I think that people that use this function are aware that some of it's look will be destroyed, so you shouldn't worry as much.
     
    kkrizka, Sep 29, 2007 IP