Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('#main').css('height', $(document).height()+'px'); - code run second alert
- alert($(document).height()+' - '+$(window).height()+' - '+$('#main').height()+' - '+$('#content').height()+' - '+$('body').height());
- // Chrome: 1018 - 1018 - 671 - 555 - 671
- // Chrome: 1018 - 1018 - 1018 - 555 - 1018
- // Firefox: 1097 - 948 - 962 - 846 - 962
- // Firefox: 1100 - 948 - 1097 - 846 - 1097
- // IE: 994 - 924 - 994 - 878 - 994
- // IE: 994 - 924 - 994 - 878 - 994
- // Safari: 973 - 973 - 671 - 555 - 671
- // Safari: 973 - 973 - 973 - 555 - 973
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement