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()); });
1.4m articles
1.4m replys
5 comments
57.0k users