$(el).setStyle('height', 'auto');

On Fri, Jan 30, 2009 at 8:48 AM, Kasper22 <[email protected]> wrote:

>
> Hi Guys,
>
> I'm not sure if this is a bug, or maybe there is a better way, but
> here is what I'm trying to to do.  I have an element that has had its
> height set by using the Element.setStyle().  Later I need that element
> to go to a new height, which is just what ever the size of the
> contained content inside that element is.  I thought a good way to do
> it would be change the style from a specified height to 'inherit'.
> This works fine in real browsers, but our special friend IE throws an
> error and says it doesn't know the property and throws and exception.
>
> Is there a better way to make that change or is this a bug?
>
> Thanks
> Bryan

Reply via email to