Tuesday 13 September 2011

IE6 - Formatting Problems

Well we all know its bad to use IE6 in this day and age, but some schools, colleges and libraries still use it, so as web developers we also have to consider how it will affect those machines.

It has caused a lot of headaches for me in the past, but one fix it to disable the compatibility mode which then allows you to consistently render the page and fix any issues.

if you add the following meta tag it removes compaitbility mode as an option and stops it from automatically switching to it which normally give inconsistent results.

Here is the tag:
<meta http-equiv="X-UA-Compatible" content="IE=edge" />

This should be put on all files that are affected or personally I now put it on every page I make.