I found another problem with this theme. Actually, it's an IE6 problem and it might affect other themes as well. What I noticed was that the main div (the box that contains the website content) was not as wide in IE6 as it was in all other browsers tested (by about42 pixels). A little research revealed that, when IE6 is in "quirks mode", it does not properly compute the width of a div (it's supposed to add the declared width plus borders and padding, etc.). What was triggering quirks mode in IE6 you might be asking? I found this on Wikipedia:
Quirks mode in IE 6 will also be triggered if anything but whitespace precedes the DOCTYPE. For example, if a hypertext document contains a comment or any tag before the DOCTYPE, quirks mode will be triggered in IE 6
The problem was that this line:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
preceeded the doctype definition in templates/common/header.tpl. So, I just moved the XML prolog to the next line and now the main div is the correct width in IE6.