I gave 100% height to a div and I want the actual height in px. How can I find out the height of that div?
With jquery you can use this, when container is the id of the div:
$(document).ready(function() { alert($('#container').height()); });
548k questions
547k answers
4 comments
86.3k users