Sunday, 15 September 2013

How to determine in Java script the height of a div is in Percentage or pixels

How to determine in Java script the height of a div is in Percentage or
pixels

Is there a way in javascript to determine wether the height of the Div is
in %
<div id="dvPercentage" style="height: 80%">
How do I get that the height of the div was given in Percentage.

No comments:

Post a Comment