views:

38

answers:

2

Has anyone else tried using SimpleModal in IE9? If so, have you experienced that the width of the modal is wildly wrong?

I checked on the homepage for SimpleModal, and the modals are all over the place width-wise there as well.

Does anyone have a fix for this?

A: 

The best thing I have managed to come up with is to surround the SimpleModal divs that you are creating with another div that specifies the width.

Essentially it seems that the divs will always go to 100% of the container they are in, so use other divs to contain their size, and keep them in alignment.

Ryan French
berkleebassist
Yeah the widths are calculated properly in every other browser except for IE9, and I'm pretty sure the issue is IE9 being still in beta, however I discovered issues with the containers not staying in place when I collapsed some containers. To solve that I started wrapping my 2 seperate columns in divs and then noticed it fixed the width issue in IE9. However if you want to do it on the fly you could use the jQuery http://api.jquery.com/wrap/ to wrap the SimpleModal in a div.
Ryan French