Category Archives: iPhone

Web Development for the iPhone: HTML, CSS & JS Support

Safari and Safari for the iPhone support all HTML elements, including deprecated elements and even some proprietary elements that were never part of any W3C specifications. In addtion, Safari is supporting some HTML5 elements, even though the HTML5 specifications have … Continue reading

Posted in Accessibility, Best Practices, Browsers, Character Entities, contactApp, CSS (including hacks), DTD, firebug, HTML, IE7, InvoiceApp, iPhone, JavaScript, Web Development | 5 Comments

iPhone Screen Orientation: Portrait and Landscape

When you tilt your iPhone, the screen changes orientation. The website you developed for the default portrait orientation may not look good in landscape mode, especially if you developed your page for the 480 (h) x 320 (w) screen. In … Continue reading

Posted in Browsers, Character Entities, HTML, iPhone, JavaScript, Web Development | Tagged | 8 Comments

hover pseudoclass for the iPhone

Since you’re not hovering, there is no hover pseudo class on the iPhone. instead they have touch events. To simulate the :hover pseudo class, include javascript similar to this: var myLinks = document.getElementsByTagName(‘a’); for(var i = 0; i < myLinks.length; … Continue reading

Posted in Best Practices, CSS (including hacks), HTML, IE7, iPhone, JavaScript, Web Development | 8 Comments

Safari 3 CSS Support

Safari 3.0 has the best CSS, including CSS3, support of any popular browser. Below I go over Safari CSS Selector support and then show how to include multiple background images, and how to create rounded corners without the use of … Continue reading

Posted in Browsers, CSS (including hacks), iPhone, Web Development | 7 Comments

Web Development for the iPhone

iPhone Web Applications: HTML5, CSS3 & dev tips for iPhone development View more presentations from estellevw. Web Development for the iPhone: Targeting the iPhone Safari browser Developing for the iPhone Also check out Creating native looking iPhone web apps with … Continue reading

Posted in Browsers, iPhone, Web Development | 47 Comments