As this is a HTML issue, it would be better if you posted the HTML source after the PHP has been executed. Is it also possible to post a link to the page or a screen shot showing exactly what happens in IE and how it messes up?