Mobilizing websites with responsive design and HTML5
Join the DZone community and get the full member experience.Join For Free
The tutorial is divided to several, functionality specific, blog posts, each with screenshot examples, explanations and links for more in-depth information.
The tutorial was written in a conjunction with a consulting project for a Finnish public sector organization. As the one of the funding sources is Finnish tax money, including some of my very own pennies, it was a common interest to get the information born in the consultation project published.
Below is an example what one can accomplish.
The site landing page before any mobilization was done; the site is using the default desktop styles on mobile devices:
The site after HTML and CSS adjustments:
Prerequisites for understanding this tutorial are
- Some understanding how the process of HTML5 evolution and browser feature support work
2. Table of contents
The tutorial contents is outlined below. I’ll keep linking to new blog posts as I finish writing them. Stay tuned, by following the RSS feed or Twitter.
- Introduction(part 1)
- Working on HTML(5) for mobile sites (part 2)
- There is no HTML5; there is only HTML
- Strategies for building a mobile site
- Tools for mobile site building
- Spoofing the development browser as mobile
- User agent detection
- Native apps
- Considerations when mobilizing a legacy website (part 3)
- Applying a hint of responsiveness on an existing layout
- Minizing code changes and risks associated with them
- Setting mobile browsing viewport (part 4)
- Mobile site CSS with CSS3 media queries (part 5)
- Resizing images in responsive mobile design (part 6)
- Server-side image resizing solutions
- Styling HTML forms for mobile screens (part 7)
- Shortcutting unnecessary user choices
- HTML5 <input> element enhancements
- Zoom-on-orientation-change fix for WebKit mobile browsers ( part 8 )
- Mobile web browser testing overview (part 9)
- Accessing different mobile browsers on devices and simulators
- Desktop web browser testing
- URL shorteting
- IFRAME based simulators
- Testing mobile sites on iPhone and its simulator (part 10)
- Testing mobile sites on Android and its emulator (part 11)
- Testing mobile sites on Firefox Mobile and Opera Mini (aftermarket browsers) (part 12)
- Opera Mini
- Opera Mobile
- Firefox Mobile (a.k.a. Fennec)
- Testing mobile sites on Nokia Series 60, Series 40 and Meego (part 13)
- Testing mobie sites on Windows Mobile (Mango, others) (part 14)
- Conclusion (part 15)
Published at DZone with permission of Mikko Ohtamaa, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.