Search Engine Optimisation - IE7 Hack problems - October 25th, 2006
In the past many web developers and search engine optimisation professionals have utilised Internet Explorer CSS hacks to correct a websites design when viewed in IE.
As you are probably aware Microsoft are currently working on the latest version of Internet Explorer (IE 7). In IE7 Microsoft have introduced tabbing systems similar to those in Mozilla Firefox, CSS functionality has been cleaned up and parser bugs removed amongst many other fixes These IE errors have been fixed in IE7, and we are starting to see the first round of sites and pages breaking due to the CSS fixes we have made!
In order for your websites to display properly in IE7 these existing CSS hacks in your pages will need to be cleaned up. To achieve this enter the following code after previous CSS entries in the head section of your HTML document:
<!–[if IE 7]>
<link rel="stylesheet" href="style_name.css" type="text/css" />
<![endif]–>
Simply create a stylesheet designed for IE7 with all old CSS hacks removed and reference it in the above line of Jscript, which can only be read by Internet Explorer 7. This ensures that IE7 reads the new CSS file and the site is displayed correctly.
As Microsoft’s IE browser has the largest market share designing sites to be compatible with IE7 is a must for all web developers and search engine optimisation professionals.
Paul Spreadbury
SEO Programmer
