Yeah, my hosting provider sucks, but it's also my choice to use them
(they are doing it for free).

One of these years I'll finally get enough money to get a real hosting
site, but until then I'm stuck with the lame coding trick. Heck I
can't even afford an iPhone (I did all my coding blind). However,
given my limited resources, and crappy hosting scenario, I feel good
about the 6 or 7 games that I built.

I didn't take your message as "bitchy", I took it for what it was, a
good recommendation to help me improve my pages, and I thank you for
that, and I hope you continue to critique not only mine, but everyone
else who asks for help.

On Sep 17, 9:41 pm, RobG <[EMAIL PROTECTED]> wrote:
> On Sep 18, 3:49 am, AwayBBL <[EMAIL PROTECTED]> wrote:
>
> > RobG, the reason that that page fails w3c validator is that my isp
> > places some bad code infront of the actual code. The actual code that
> > runs, is fine.
>
> It may run fine for some browsers, but in general it is somewhat
> problemtatic.  Browsers ignore the doctype declaration and use
> whatever the server sends in the response header.  The junk your ISP
> inserts into the head of the page means the whole thing will be
> treated as invalid HTML, so you are better off accepting that and
> removing the html, head and body tags from your markup and putting all
> scripts and css in external files.
>
> The fact that your ISP inserts a noframe element at the start of your
> page means the browser must put a head element before that, hopefully
> it will also move link and style elements into the head too.
>
> If you want to use a doctype, use HTML Transitional, but your document
> isn't going to validate anyway so that point is moot.
>
> You may want to discuss the issue with your ISP, they may have a
> scheme so that their stuff is added in a more appropriate place in the
> document.  The best solution is to find an ISP that doesn't mess with
> your pages, but that might not be suitable for you in the short term.
>
> I'd be keen to know if your ISP asked for permission to insert their
> junk in your pages - do you have some form of agreement for them to do
> that?  If you are developing an application for a mobile platform,
> bandwidth is pretty critical, as is processor power for all the extra
> junk.
>
> PS.  I received an e-mail that my first reply came across as bitchy,
> that was not my intention.  There are many pages on the web claiming
> to be XHTML that are in fact nothing like it and should not be using
> that doctype.  There is no benefit to using XHTML on the web, and a
> number of drawbacks.  HTML  strict is, and will remain for quite some
> time, the best doctype.
>
> <URL:http://www.hixie.ch/advocacy/xhtml>
>
> Oh, nearly forgot:  :-)
>
> --
> Rob


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to