I hope someone could help me on my problem.
I want to show my div(User Add Form) at center of the browser
window.like pop up window.the Pop-Up has to be shown at center of the
browser's window
I used this code.In FireFox 3.
element.style.top = ( 0 + ( window.innerHeight )/2 - ( dimensions.height
)/2 ) + 'px';
element.style.left = ( window.innerWidth )/2 - ( dimensions.width )/2  +
'px';
but it was not positioned center.
Pls help me up.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to