Re: formatting error in IE7



Doug P wrote:
I've been wrestling with this problem for weeks. I finally have it boiled down to 1 files, that shows the problem. www.medi.net/temp/iebug.html The VERY first time you load the file (ie. delete all your cached files) it messes up in random places. You'll know it does, because you will get a scrollbar across the bottom of the page and some of the lines go way out to the right. Pressing the reload button will always reformat it properly. It's originally from a php script. That will almost never format properly. So I had to output everything to a file and then issue a refresh, which works better, but the user still has to click on the refresh button to get a good copy. Anyone got any ideas?

The problem is not in Firefox or IE7. It is in IE6, which has a lot of subtle bugs.

Your code is very clean, but I am very suspicious of your use of the FONT tag. I would be inclined to use DIV or SPAN instead.

.