This is not a rails question. Please ask it elsewhere.
-----
Ryan Bigg
Freelancer
http://frozenplague.net
On 03/12/2008, at 4:20 PM, Newb Newb wrote:
>
> 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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---