[jQuery] Re: SimpleModal 1.3 height

2009-09-15 Thread Warren Benedetto

Figured it out myself, so I'm posting for anyone else with this
problem. Adding !important to the height specified in my stylesheet
overrides the inline style. Not sure if that's the best solution, but
it works.


[jQuery] SimpleModal 1.3 height

2009-09-15 Thread Warren Benedetto

Since upgrading to SimpleModal 1.3 from 1.2.3, I'm having real trouble
with the height of the container. Something somewhere keeps inserting
a height of 84px inline into the container div. Because it's inline I
can't override it with my stylesheets -- the inline styles override
the stylesheet.

- I tried setting the minHeight and maxHeight params, but those don't
help.

- I tried setting the containerCSS with height of 'auto' or 'inherit',
but that doesn't work.

- If I set the containerCss with a height set to a pixel value, it
does override the 84px inline style ... but I don't want a hardcoded
pixel height. The content inside the container is of variable height,
so I need the container to expand to accommodate the height of the
content.

I was using 1.2.3 for the last year or so with no problems, and
nothing in my code changed. The issue began immediately after
upgrading to 1.3, so that must be the source of the problem.

Any thoughts?