SlideShare a Scribd company logo
Designing
                     for the Mobile Web




http://www.flickr.com/photos/albanyassociates/3308582269/sizes/l/in/photostream/

Saturday, September 25, 2010
ahoj !
                                   twitter:zibin
                               slideshare.net/zibin




Saturday, September 25, 2010
Mobile Web is growing.....




Saturday, September 25, 2010
iphone
                                                ipad


                         Mobile Web is growing.....


                                   android



Saturday, September 25, 2010
big screen

                                     family photo




                               happy :-)



                                 tab tab “keyboard”




                                                      click click “mouse”

            Designing a desktop site
                                                        http://www.flickr.com/photos/anantablamichhane/438854995/sizes/l/
Saturday, September 25, 2010
mobile developer :-(




     piece of crap (?).....




             Designing a mobile site   http://www.flickr.com/photos/hendry/763193147/sizes/l/

Saturday, September 25, 2010
iphone




         5% users in EU5 countries
                                        http://www.flickr.com/photos/goincase/4973847949/

Saturday, September 25, 2010
the rest use something else...




http://www.flickr.com/photos/albanyassociates/3308582269/sizes/l/in/photostream/

Saturday, September 25, 2010
different screen size                     != iphone
                               small screen
                                                         hard to debug




                                                                memory issue
               the real mobile phone                http://www.flickr.com/photos/osde-info/2270663393/sizes/l/

Saturday, September 25, 2010
Approaches to
                              design



Saturday, September 25, 2010
3 approaches
                                 to create a mobile site




Saturday, September 25, 2010
1. Do Nothing



Saturday, September 25, 2010
1. Do Nothing
                                 (at least not too much)




Saturday, September 25, 2010
1. Do Nothing
                                 (at least not too much)


                                                    liquid layout
                       semi liquid layout


Saturday, September 25, 2010
2. separate mobile
                   site



Saturday, September 25, 2010
Saturday, September 25, 2010
browser sniffing....

Saturday, September 25, 2010
Saturday, September 25, 2010
selection & cookie




Saturday, September 25, 2010
3. one site to rule
                   them all



Saturday, September 25, 2010
3. one site to rule
                   them all    (including ipad)




Saturday, September 25, 2010
3. one site to rule
                   them all                     (including ipad)




                               viewport   media queries




Saturday, September 25, 2010
media queries


     @media all and (max-device-width: 480px) {
       // insert CSS rules here
     }

     @media all and (min-width: 480px) and (max-width:
     800px) {
       // insert CSS rules here
     }


Saturday, September 25, 2010
viewport




                               visual viewport                                         actual viewport
                                           http://www.quirksmode.org/mobile/viewports2.html


Saturday, September 25, 2010
viewport




            <meta name=”viewport” content=”width=device-
                             width”>




Saturday, September 25, 2010
viewport




                               http://www.quirksmode.org/mobile/viewports2.html


Saturday, September 25, 2010
media queries      viewport


     <meta name=”viewport” content=”width=device-
     width”>

     @media screen and (max-width: 360px){
       // CSS style here
     }


      max/min-width relates directly to the viewport width
      value

Saturday, September 25, 2010
1. do nothing
   2. separate site
   3. one site to rule them all




Saturday, September 25, 2010
hard to debug




     debugging the mobile phone
Saturday, September 25, 2010
Mobile Emulator




Saturday, September 25, 2010
Remote Debugging
        demo: http://my.opera.com/ODIN/blog/opera-mobile-10-and-its-remote-debugging-party-trick




Saturday, September 25, 2010
děkuji ! , Q&A
                                       twitter:zibin
                                   slideshare.net/zibin




Saturday, September 25, 2010
Credits
                  My colleague Andreas Bovens
                  http://www.slideshare.net/andreasbovens/mobile-web-development-techniques-and-operas-developer-
                  tools


                  A dude Bryan Rieger
                  http://www.slideshare.net/bryanrieger/going-mobile-2010-by-yiibu

                  Image credits are listed in every image




Saturday, September 25, 2010

More Related Content

PDF
Nigeria & Designing for the Mobile Web
PPTX
W3C HTML5 Chinese IG Report
PDF
不懂HTML5 非好汉 Be a man, learn HTML5
PDF
Html5/CSS3 in shanghai 2010
PDF
CSS3大補貼 - COSCUP/GNOME.asia
PDF
Html5games
PDF
Opera Mobile HTML5 CSS3 Standards
PPT
Agricultural For F &amp;
Nigeria & Designing for the Mobile Web
W3C HTML5 Chinese IG Report
不懂HTML5 非好汉 Be a man, learn HTML5
Html5/CSS3 in shanghai 2010
CSS3大補貼 - COSCUP/GNOME.asia
Html5games
Opera Mobile HTML5 CSS3 Standards
Agricultural For F &amp;

Similar to Designing for the mobile web (20)

PDF
Responsive Design for the Web
PDF
SUA Mobile Development
PDF
Mobile, Media & Touch
PDF
Responsive Web Design & the state of the Web
PDF
Designing and Building for the Mobile Web (2011)
PDF
Introduction to Mobile for (Web) Designers
PDF
Responsive Web Site Design
PDF
iPhone Dev Camp Keynote
PDF
iPhoneDevCamp Keynote
PDF
iPhone Dev Camp Keynote
PDF
Responsive Web Design: buzzword or revolution?
PPTX
Mobile ux upa
PDF
responsive awareness
PDF
Html5 apps nikolaionken-08-06
PDF
Sencha Touch beta — Amazing Mobile Web Apps with HTML5, CSS3 & JavaScript
KEY
Designing for mobile devices
PDF
GA London - Designing for multiple devices, 28may2012
PDF
Responsive websites. Toolbox
PDF
How to create a mobile version of your website
PDF
Mobile First Responsive Design
Responsive Design for the Web
SUA Mobile Development
Mobile, Media & Touch
Responsive Web Design & the state of the Web
Designing and Building for the Mobile Web (2011)
Introduction to Mobile for (Web) Designers
Responsive Web Site Design
iPhone Dev Camp Keynote
iPhoneDevCamp Keynote
iPhone Dev Camp Keynote
Responsive Web Design: buzzword or revolution?
Mobile ux upa
responsive awareness
Html5 apps nikolaionken-08-06
Sencha Touch beta — Amazing Mobile Web Apps with HTML5, CSS3 & JavaScript
Designing for mobile devices
GA London - Designing for multiple devices, 28may2012
Responsive websites. Toolbox
How to create a mobile version of your website
Mobile First Responsive Design
Ad

More from Zi Bin Cheah (13)

PDF
Beyond HTML5:Device, Graphics, Orientation, Real Time
PDF
Taiwan Web Standards Talk 2011
PDF
Web Standards Indonesia Tour
PDF
let's talk web standards
PDF
Mobile Web Trends inIndonesia
PDF
Browsers & Web Technology - an Opera talk
PDF
Standards: politics, case studies
PDF
HTML5/CSS3 @ Baidu
PDF
谈一谈HTML5/CSS3 @ WebRebuild 2010
PDF
Cutting Edge CSS3 @ WebExpo Tour 2010
PDF
Web Standards @ Opera Talk Oslo
PDF
Standards Talk - Opera Uni Tour Indonesia
KEY
Browser War 2: Standards strikes back
Beyond HTML5:Device, Graphics, Orientation, Real Time
Taiwan Web Standards Talk 2011
Web Standards Indonesia Tour
let's talk web standards
Mobile Web Trends inIndonesia
Browsers & Web Technology - an Opera talk
Standards: politics, case studies
HTML5/CSS3 @ Baidu
谈一谈HTML5/CSS3 @ WebRebuild 2010
Cutting Edge CSS3 @ WebExpo Tour 2010
Web Standards @ Opera Talk Oslo
Standards Talk - Opera Uni Tour Indonesia
Browser War 2: Standards strikes back
Ad

Designing for the mobile web

  • 1. Designing for the Mobile Web http://www.flickr.com/photos/albanyassociates/3308582269/sizes/l/in/photostream/ Saturday, September 25, 2010
  • 2. ahoj ! twitter:zibin slideshare.net/zibin Saturday, September 25, 2010
  • 3. Mobile Web is growing..... Saturday, September 25, 2010
  • 4. iphone ipad Mobile Web is growing..... android Saturday, September 25, 2010
  • 5. big screen family photo happy :-) tab tab “keyboard” click click “mouse” Designing a desktop site http://www.flickr.com/photos/anantablamichhane/438854995/sizes/l/ Saturday, September 25, 2010
  • 6. mobile developer :-( piece of crap (?)..... Designing a mobile site http://www.flickr.com/photos/hendry/763193147/sizes/l/ Saturday, September 25, 2010
  • 7. iphone 5% users in EU5 countries http://www.flickr.com/photos/goincase/4973847949/ Saturday, September 25, 2010
  • 8. the rest use something else... http://www.flickr.com/photos/albanyassociates/3308582269/sizes/l/in/photostream/ Saturday, September 25, 2010
  • 9. different screen size != iphone small screen hard to debug memory issue the real mobile phone http://www.flickr.com/photos/osde-info/2270663393/sizes/l/ Saturday, September 25, 2010
  • 10. Approaches to design Saturday, September 25, 2010
  • 11. 3 approaches to create a mobile site Saturday, September 25, 2010
  • 12. 1. Do Nothing Saturday, September 25, 2010
  • 13. 1. Do Nothing (at least not too much) Saturday, September 25, 2010
  • 14. 1. Do Nothing (at least not too much) liquid layout semi liquid layout Saturday, September 25, 2010
  • 15. 2. separate mobile site Saturday, September 25, 2010
  • 19. selection & cookie Saturday, September 25, 2010
  • 20. 3. one site to rule them all Saturday, September 25, 2010
  • 21. 3. one site to rule them all (including ipad) Saturday, September 25, 2010
  • 22. 3. one site to rule them all (including ipad) viewport media queries Saturday, September 25, 2010
  • 23. media queries @media all and (max-device-width: 480px) { // insert CSS rules here } @media all and (min-width: 480px) and (max-width: 800px) { // insert CSS rules here } Saturday, September 25, 2010
  • 24. viewport visual viewport actual viewport http://www.quirksmode.org/mobile/viewports2.html Saturday, September 25, 2010
  • 25. viewport <meta name=”viewport” content=”width=device- width”> Saturday, September 25, 2010
  • 26. viewport http://www.quirksmode.org/mobile/viewports2.html Saturday, September 25, 2010
  • 27. media queries viewport <meta name=”viewport” content=”width=device- width”> @media screen and (max-width: 360px){ // CSS style here } max/min-width relates directly to the viewport width value Saturday, September 25, 2010
  • 28. 1. do nothing 2. separate site 3. one site to rule them all Saturday, September 25, 2010
  • 29. hard to debug debugging the mobile phone Saturday, September 25, 2010
  • 31. Remote Debugging demo: http://my.opera.com/ODIN/blog/opera-mobile-10-and-its-remote-debugging-party-trick Saturday, September 25, 2010
  • 32. děkuji ! , Q&A twitter:zibin slideshare.net/zibin Saturday, September 25, 2010
  • 33. Credits My colleague Andreas Bovens http://www.slideshare.net/andreasbovens/mobile-web-development-techniques-and-operas-developer- tools A dude Bryan Rieger http://www.slideshare.net/bryanrieger/going-mobile-2010-by-yiibu Image credits are listed in every image Saturday, September 25, 2010