Solution for MSIE 7 only applies style on refresh

Problem: Internet Explorer 7 only renders some pages correctly after they are reloaded. The originally loaded page seems to have some of the stylesheet applied to it (e.g. colors), but not everthing (e.g. font). Furthermore, the View Source menu option does not work - MSIE appears to be stuck rendering the page. It happens to some pages of a web site, while others are rendered correctly for no apparent reason. Everything works perfectly in Firefox (or even in MSIE 6).

Solution: This particular problem has been caused by a link to the stylesheet incorrectly placed inside of the BODY tag instead of inside of the HEAD tag. Simply moving the LINK tag in page's source fixed it.

No comments:

Post a Comment