How to i disable the _moz_resizing?

Posted by Shripad K on Stack Overflow See other posts from Stack Overflow or by Shripad K
Published on 2010-05-25T03:15:56Z Indexed on 2010/05/25 3:21 UTC
Read the original article Hit count: 429

Filed under:
|
|
|

I am using nicEdit editor and i have added my own custom image resizing script to it. But i want to disable the default _moz_resizing that appears in firefox.

I wanted to have finer control over the image being resized. ( Eg: Allow only the image to resize and inherit the width of the parent container. )

So i wrote a custom script. But since firefox has its own image resizing control (_moz_resizing) how do i disable it? If there is no way to do so, i have a very simple workaround where i browser detect firefox and turn off my custom script and use the _moz_resizing instead.

But i won't have fine grained control and will have to rely on there being now browser bugs in firefox. :(

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about css