On Feb 20, 4:38 pm, Tom Gregory <[EMAIL PROTECTED]> wrote:
> There's a Prototype function Element.getHeight.  =)

I misread the original response from Marius.  Is the only solution to
set a fixed height on the element?  Is there a way to get the browser
to calculate this height by itself, maybe by doing some magic with z-
index, showing the element behind the reset of the page, hiding it,
and then showing it again where you want it?

Element.getHeight, and Element.getDimensions, AFAICT, only return the
height from the CSS, they don't attempt to calculate what it should be
if there isn't a fixed height.

I've not had much luck in the past with setting a fixed height and
having it look correctly in more than one browser.  Does anyone have
tips regarding this?


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

Reply via email to