Wednesday, January 28, 2009

IE7 and the Infinite Page (Sadness)

Why does www.hannoverconsulting.com generate infinite pages when print previewed in IE7? Good question.

A buddy of mine made some changes in his site, hosted at GoDaddy, using their WebSite Tonight (r) wizard. All of a sudden, none of his pages print in IE7. They print fine in Firefox.

I've examined the HTML and found it's predictably too verbose, lots of divs, some don't appear to be closed (I lost patience trying to match them up.) I made sure the HTML that could be controlled was pristine, but it looks like something in their template code is cheesing IE7 off.

The page I did surgery on is the home page, www.hannoverconsulting.com. If your HTML or DOM mojo is strong, please check it out and let me know if you figure it out.

Wow! Two posts in a row complaining about Microsoft. Shouldn't kick them while they're down.

So, OK, on a completely different tack, I understand the Cram DeRux fan club has updated its unauthorized Website. Check it out. I can't wait for more!

1 comment:

Cram DeRux said...

Update: I posted this as a LinkedIn question, and within an hour or so got a detailed analysis of the CSS involved, and the guy even pinpointed the particular code that was causing the conflict.

The solution was harder, since GoDaddy's content management system says, but lies, that you can change the default CSS. Had to add a inline set of styles for the media type "print" that overrode the offending code.

But, by asking the question, I saved myself (and my friend's pocketbook)lots of hassle.