*
The moose likes HTML, CSS and JavaScript and the fly likes how to get the div offsetheight in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to get the div offsetheight in JSP" Watch "how to get the div offsetheight in JSP" New topic
Author

how to get the div offsetheight in JSP

Joao Cunha
Greenhorn

Joined: Jul 12, 2004
Posts: 24
Hi folks!

I have an object that store the properties of a window like title, height and width, and this window is so rendered on the browser.

The window height must have the same height of a div, that is the page content div.
So, I�d like to set the height property of the window, on the object, with this value.
So, it�s teh question. How can I get the content div height, from html, to set the height property of the window representation object?

Thanks!
Joao
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

Moving to the HTML/Javascript forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to get the div offsetheight in JSP
 
Similar Threads
CSS expanding div
CSS & DIV relative alignment
DIV Tag Height Percent Overrunning Footer
Controlling DIV and/or TR height
Keeping DIV tags Displayed Correctly