-1

I tried to display popup in center for my site from all browser & devices. Is it possible to handle this thing using javascript or jquery. Thanks.

Gaurav Gupta
  • 478
  • 6
  • 10
  • 1
    show us your code please – Amar Singh Jan 13 '16 at 07:05
  • btw everythng is possible with js jquery ;) – Amar Singh Jan 13 '16 at 07:07
  • ya thats y m asking this. is there any way to globaly handle this problem – Gaurav Gupta Jan 13 '16 at 07:09
  • 1
    http://jqueryui.com/dialog/ see this link – Frebin Francis Jan 13 '16 at 07:10
  • Please visit the [help] to see how and what to ask here. HINT: Show effort and code – mplungjan Jan 13 '16 at 07:29
  • similarly no need to comment everytime & everyplaces if not interested. thanks. – Gaurav Gupta Jan 13 '16 at 07:32
  • It has nothing to do with not being interested - it has to do with letting you know why your question may be voted down and closed and prepare you for it. This question is not only off-topic because it has no code or effort, it is also a HUGE FAQ that you could have found answer to with a search faster than writing the question - I am considering closing it as duplicate of this: http://stackoverflow.com/questions/3060146/how-to-auto-center-jquery-ui-dialog-when-resizing-browser – mplungjan Jan 13 '16 at 07:37
  • actually first of all i tried to find this and no one is perfect in the begining. – Gaurav Gupta Jan 13 '16 at 07:43
  • if you are going for an interview and interviewer asked you the same question than is the same your answer which u told me. – Gaurav Gupta Jan 13 '16 at 07:45

1 Answers1

1

<div style="position:fixed;left:0px;right:0px;top:0px;bottom:0px;width:150px;height:90px;margin:auto;background:white;    box-shadow: 0px 0px 2px #888888;
"></div>
saikumar
  • 1,041
  • 6
  • 10