EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: dearsh on May 04, 2014, 06:59:57 AM



Title: Position Form/Div in Dialog Easyui
Post by: dearsh on May 04, 2014, 06:59:57 AM
Hi guys,

How do I set the position of the form/div with dialog easyui in the middle of the screen?
When the dialog = 1 dialog, the position is located in the middle of screen, but when there is 2 or more dialogthen there is a dialogue that goes down to the first position (not located in the middle of the screen).

Regards,

- Jaki -


Title: Re: Position Form/Div in Dialog Easyui
Post by: stworthy on May 04, 2014, 07:40:30 AM
Try to set the 'left' and 'top' properties for a dialog.
Code:
<div class="easyui-dialog" style="left:100px;top:50px">
...
</div>