I have the following CSS class:
#modal
{
background-color: d4eadc;
border: 1px solid #70ba88;
position: relative;
z-index: 1000;
width: 315px;
min-height: 315px;
padding: 0px;
font-family: Arial;
font-size: 12;
color: black;
text-align: left;
}
As you can see, the min-height is set to 315 pixels, so it will grow beyond 315 pixels when the capacity is reached. Now what I need to do is retreive the height value after it has grown, say for example 350 pixels. How do I get this value? I thought it would be in:
document.getElementById("modal").style.height
but it's not. Thanks
#modal
{
background-color: d4eadc;
border: 1px solid #70ba88;
position: relative;
z-index: 1000;
width: 315px;
min-height: 315px;
padding: 0px;
font-family: Arial;
font-size: 12;
color: black;
text-align: left;
}
As you can see, the min-height is set to 315 pixels, so it will grow beyond 315 pixels when the capacity is reached. Now what I need to do is retreive the height value after it has grown, say for example 350 pixels. How do I get this value? I thought it would be in:
document.getElementById("modal").style.height
but it's not. Thanks