On Friday 12 September 2003 22:39, Oleg Kobets wrote: > Hi. > > I have built a site (http://pagan.clean-mail.net) and in the Article Loader > screen I use IFRAME to load the external html document. > > Now, it looks great in IE, NS6+ and should look good in Opera as well. The > problem is Mozilla. It does not do the parsing of HTML inside the IFRAME > and shows it as source.
I assume it's a MIME type problem. Right-click inside the IFRAME, choose Frame | View Page Info. In the Page Info window, you should see the MIME type which the server claims the page is. Mozilla will only render it as HTML if it claims to be text/html. I don't think there's a way to force Mozilla to assume a certain MIME type for a frame, so you'll have to solve it on the server side -- by making the HTTP server return a correct Content-Type header for the IFRAME'd page. (Why IE displays it correctly? Maybe it applies some heuristic to handle pages with incorrect Content-Type, e.g. looking for "<HTML>".) ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
