Everything iPhone iPhone Accessory Store iPhone news iPhone accessory reviews iPhone forums iPhone Social


Go Back   iPhone 3G | iPod touch Forums > Apple iPhone Software > iPhone Software

Notices

iPhone versions available: Enhanced | Light



Reply
 
Thread Tools Display Modes
Old 07-23-2007, 11:29 PM   #1 (permalink)
 
Join Date: Jul 2007
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
Default iphone reads html differently than other browsers

My web page does not display properly on the iphone. This is NOT a Flash issue, just simple html that has been working properly for years on other browsers. Some of my sub-pages work, some do not. In comparing the html for a working and non-working page, the only difference I can spot is different case for elements. Is there any reason that html case-sensitivity might be different for the iphone?
ron ll is offline   Reply With Quote
Old 07-23-2007, 11:32 PM   #2 (permalink)
 
xoulo's Avatar
 
Join Date: Jul 2007
Posts: 359
Thanks: 0
Thanked 0 Times in 0 Posts
Default

its the flash and java support that doesnt allow us to watch videos ... YET
videos run by quicktime is okay for us to watch through safari if thats what your talking about
__________________
you!!! poster below me... beware of an evil monkey
xoulo is offline   Reply With Quote
Old 07-23-2007, 11:35 PM   #3 (permalink)
 
Join Date: Jul 2007
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Let me repeat, this is NOT a Flash issue.
ron ll is offline   Reply With Quote
Old 07-24-2007, 12:45 AM   #4 (permalink)
 
linkerjpatrick's Avatar
 
Join Date: Jun 2007
Location: Greenville,SC
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Maybe Safari on the iPhone prefers the stricter xhtml rules which are case sensitive in that the html tags have to be in lower case. Just because they work in the other browsers doesn't mean it's right.

According to Apple's iPhone dev web site it supports the following;
  • HTML 4.01
  • XHTML 1.0
  • CSS 2.1 and partial CSS3
  • ECMAScript 3 (JavaScript)
  • W3C DOM Level 2
  • AJAX technologies, including XMLHTTPRequest
Are you at least declaring the html version in your headers? That can make a difference with the more picky browsers. (almost everything except IE for the most part). This is my guess. I'll check into it more. In the past few years I have all but transitioned to xhtml (at least in transitional mode) so I haven't noticed any problems so far with the sites I develop.
linkerjpatrick is offline   Reply With Quote
Old 07-24-2007, 12:50 AM   #5 (permalink)
 
Join Date: Jul 2007
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by ron ll View Post
Let me repeat, this is NOT a Flash issue.
Why don't you send us a link?
SF_VR6 is offline   Reply With Quote
Old 07-24-2007, 02:24 AM   #6 (permalink)
 
Join Date: Jul 2007
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by SF_VR6 View Post
Why don't you send us a link?
Two reasons: 1. I didn't want to appear to market in a forum, and 2. it is really sloppy html code. But I'm thinking it is the case-sensitivity issue which I can test when I get back to my office. But the site is www.ronlloyd.com. The home page does not show the first image map. In my defense, this html was written by a former employee about six years ago. In the former employee's defense, he still knew more about html than I do .
ron ll is offline   Reply With Quote
Old 07-24-2007, 04:02 AM   #7 (permalink)
 
linkerjpatrick's Avatar
 
Join Date: Jun 2007
Location: Greenville,SC
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by ron ll View Post
Two reasons: 1. I didn't want to appear to market in a forum, and 2. it is really sloppy html code. But I'm thinking it is the case-sensitivity issue which I can test when I get back to my office. But the site is www.ronlloyd.com. The home page does not show the first image map. In my defense, this html was written by a former employee about six years ago. In the former employee's defense, he still knew more about html than I do .
Ok, by looking at the source code I can see one glaring problem...

Microsoft Frontpage!

Surprisingly however the code is pretty clean and fomatted but it's was done with an older version of Frontpage before MS starting including all kind of "junk code". I'm guess and I stress "guessing" since it some old code it might have something to do with the image map code.

Which "sub-page" in particular is giving you problems.

Last edited by linkerjpatrick; 07-24-2007 at 04:09 AM.
linkerjpatrick is offline   Reply With Quote
Old 07-24-2007, 05:34 PM   #8 (permalink)
 
Join Date: Jul 2007
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I changed some of the case, but it still doesn't work. www.ronlloyd.com/aboutrla.htm works fine and it has a similar image map with links. I don't see the difference between that page and the home page, www.ronlloyd.com/index.htm.
ron ll is offline   Reply With Quote
Old 07-24-2007, 07:07 PM   #9 (permalink)
 
Join Date: Jul 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

your doctype is messed up. that could be the reason its not showing up.
evilpersona is offline   Reply With Quote
Old 07-24-2007, 07:39 PM   #10 (permalink)
 
Join Date: Jul 2007
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by evilpersona View Post
your doctype is messed up. that could be the reason its not showing up.
Could you expand on that a bit please? I am not fluent in html, I'm just hoping to correct this old code that was written by someone else. Thanks.
ron ll is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 05:45 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Integrated by BBpixel ©2004-2008, jvbPlugin
Android forums

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53