tags:

views:

34

answers:

1

Hi,

I have a div, i want get height of the div.

$('.graph_container').css('height')

and css is

.graph_container {
    width:100%;
    float:left;
    border:1px solid #CCCCCC;
    margin-top:1em;
    position:relative;
}

since height is not mentioned, in IE it give 'auto'. How can i get exacte height.

I appreciate your suggestions.

+3  A: 
$('.graph_container').height()

which returns a number.

meder