Hey, i have recently put my companies new website live and it looks brilliant and works perfect on all browser and then i come to internet explorer, we have managed to iron out the majority of the creases in IE 8 but when any page loads in IE 7 the contents on the page starts right at the bottom of the pgae and then after some time or you change something in the inspect element it shoots back up to the top (where it should be) I have absoultey no idea why this is happening if someone could shed some light on the situation for me.
Obligatory question here - are you being forced to cater for IE7 or are you just not aware that the market is so slim for IE7 that it truly is not worth you doing this.
As Ryan said IE7 usage is very low these days (probably around 1 - 2 % or less) and not supported by most people these days.
The issues are probably âhaslayoutâ issues and you could spend more time fixing Ie7 than you did on the whole site altogether
If you want to debug then the first thing to do is to make sure all your main containers (containers that hold more than simple text) are in haslayout mode which can be done by setting zoom:1.0 on them. Two prime candidates are here and indeed this seems to bring the layout back to the top.
This will force IE to not render compatibility mode. IE in compatibility mode will render as IE7, even if youâre using IE 11. Compatibility mode is also default for intranet addresses.
Yes good point. I always include that rule in all the sites I do as compatibility mode was one of the worst things that IE implemented and broke more sites than it fixed.