0

Hi all...

I just have a simple question. How do I restrict a user from resizing the div's beyond certain size? For me CSS rule "max-width" doesn't seem to work. Please help... Thanks!!!

3
Contributors
4
Replies
5
Views
8 Years
Discussion Span
Last Post by MidiMagic
0

Do NOT use px. That makes the page incompatible with different screen resolutions.

How can a user resize a div? That is determined by the browser, not the user.

0

How can a user resize a div? That is determined by the browser, not the user.

Thanks for replying.

I'm sorry if I was not clear when I said user resizing div. Here i was referring to the zoom-in and zoom-out functionality. When an user zooms in I want the zooming to stop at certain stage and not zoom-in or out beyond a given size. Is this achievable?

0

No, because that belongs to the user, not to you.

You also have no control over the screen resolution or the size of the browser window the user opens. A low resolution monitor will display your image much larger on the screen than a high res one will.

Realize that if you could prevent resizing, you make the page not accessible. I know people who resize because they have vision problems.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.