I would like to use the excellent JQModal library, but I'm having a
hard time getting the dialog to show up where I want.

In the CSS that comes with it, the dialog has this style:

.jqmWindow
    display: none;
    position: fixed;
    top: 17%;
    margin-left: -300;
    width: 600px;

I want something more like:

position: absolute
top: 50px;
right: 200px;
left: 200px;
bottom: 20px;

However, no matter what values I enter the dialog either ends up in
the default position, or halfway off the screen. It does not seem to
respond to the usual CSS positioning rules.

I did some searching and found mention that the dialog is wrapped with
a div of class "jqmWrap". I tried setting styles for that but it had
no effect. I also used FireBug to look for it, but there was no
div.jqmWrap in the DOM.

Any help would be very appreciated.

Thanks,

E

Reply via email to