Thanks for the reply. I think I do have all the header information correctly written... Even stranger, if I keep refreshing the page, 1 out 20 times it will render the page correctly and got me really excited. Then I refresh again, it goes back to the raw html code:-(
On Oct 16, 7:25 pm, Stephane Daury <[EMAIL PROTECTED]> wrote: > Make sure you are serving the file as text/html or application/xml > from our server-side language. > Even better, add the proper header directly from your script if > you're not sure it's sent. > > Desktop browsers might be more tolerant, and when you save the file, > the .html or .htm extension is probably what makes the difference. > > The livehhtpheaders Firefox extension will help you troubleshoot that > too if a recurring issue. > > -- > Stephane Daury > > On Oct 16, 2007, at 16:19, rp wrote: > > > > > Hi everyone, > > > I encountered a strange thing while developing a webpage for iPhone. > > When viewing on iPhone, instead of displaying the web page correctly, > > Safari displays the raw html code. When viewing the same page on a > > regular Mac, Safari renders the webpage correctly. > > > Even stranger, the webpage was generated on the fly by a piece of asp > > code. So it's something like test.com/?tag1=value1&tag2=value2. When I > > save the raw hthml code it generates to a new html file and view it on > > iPhone, it displays correctly. > > > I am really puzzled by this. Does Safari on iPhone handle html a > > little differently? It seems that it can not recognize the page as > > html. Did anyone have similar issues before? I would really appreciate > > any suggestions. > > > Thanks and have a good day, > > > RP --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
