I'm trying to find out what a div's height is. The div will be repeated and the height will vary, the problem is that I cant just use
Basically, is there a way with the HTML DOM to extract a number for what a
auto height would be for a DIV?
any help would be much abliged.
A cross browser (non W3C DOM) property that returns the height of the element, including borders and padding if any, but not margins. In IE6, if a validdoctype is not specified, margins/padding are NOT included in the returned value.
I just decided that the best way is that each box will have to have its height specified. Not the best way to do it... adds a lot of work, but its better than the incompatible options which are available.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)