Templates suddenly appearing centred in IE7?
Posted by Mathew Patterson on August 16, 2007 2:59 PM
Recently we made small change to the MailBuild content editing page, to properly define the DOCTYPE as:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
This was to resolve an issue where your templates would be rendered in quirks mode incorrectly during editing. Adding the DOCTYPE has fixed that, but it means that some of your templates now may render slightly differently than before when viewed in the editing page.
This will not affect the final email at all, only the editing view, but it can still be an annoyance. In particular, you may notice that table cells which used to be left aligned become centered if your table itself is center aligned.
In that case, you just need to put align='left' on your table cells and it will be fixed up. Another excellent reminder of the browser wars, and the days of 4 different ways of coding the same page!

0 total comments: