I have very strange problem specific to IE (confirmed in v8 and v9).
When using jquery to determine div height with:
$('#sys_MainPage').height()
This code returns cca. 260 in Chrome, Firefox and IE (only if I access application using IP address). But, if I access application using server name and IE 8/9, calculated height is 853?
I'm using jquery 1.4.2.
What could be the cause? Is there any proper reason for this weird behaviour?
EDIT:
Problem is caused with different compatibility modes:
Site is accessed using IP address:
Browser mode: IE8
Document mode: IE8 standards
Using server name: Browser mode: IE8 compat view Document mode: IE7 standards
I solved this with web.config edit but I still don't understand why is browser/document mode different depending on entered url?