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
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.
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.
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.
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)?
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.