Window size

I hope someone could help me on my problem.
I want to show my div(User Add Form) at center of the browser pop up window.the Pop-Up has to be shown at center of the
browser’s window
I used this code.In FireFox 3. = ( 0 + ( window.innerHeight )/2 - ( dimensions.height
)/2 ) + ‘px’; = ( window.innerWidth )/2 - ( dimensions.width )/2 +
but it was not positioned center.
Pls help me up.

This is not a rails question. Please ask it elsewhere.

Ryan B.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs