EasyUI Forum
May 17, 2024, 07:13:19 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Position Form/Div in Dialog Easyui  (Read 11048 times)
dearsh
Newbie
*
Posts: 16

arif_yes06
View Profile Email
« 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 -
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 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>
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!