Optimizing Sites for Mobile Devices

Optimizing sites for mobile devices with Dreamweaver CS5.5 ,[object Object],[object Object]
Hello there... I want to talk about optimizing sites for mobile devices
Why? Because we now live in the mobile age In 2010: 940 million global mobile broadband subscribers 226 million in the Americas 62 million in the US -mobithinking.com
Quick question: ,[object Object],[object Object],[object Object],[object Object],[object Object]
Recent sampling of web designers
The importance of a mobile strategy Failing to develop a mobile strategy means you’re ignoring a large portion of your users
Current options for mobile development ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Often, it’s not really a choice you get to make Let’s be honest In many cases you’re not going to be able to design a separate mobile site, or develop a mobile app. What then?
Developing an “mobile inclusive” strategy ,[object Object],[object Object],[object Object],[object Object]
Developing an “inclusive mobile” strategy ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Demo: Planning for mobile devices
CSS Media Queries link rel="stylesheet" href="desktop.css"  media=" [not | only ]  screen  [and] (expression) "
CSS Media Queries Logical operator “ and ” constrains a query based on the expression that follows it. There is no “ or ” operator, normal comma-separated lists serve as “ or .”  link rel="stylesheet" href="desktop.css" media="screen  and  (min-width:500px)"
CSS Media Queries Media Features width * height * device-width * device-height * orientation aspect-ratio * device-aspect-ratio * * accepts “min-” and “max-” prefixes color * color-index * monochrome * resolution * scan grid
Exercise: Defining Media Queries
Fluid layouts ,[object Object],[object Object],[object Object],[object Object]
Exercise: Creating Fluid Layouts
Exercise: Creating Fluid Regions
Image considerations for mobile ,[object Object],[object Object],[object Object]
Using background-images for mobile ,[object Object],[object Object],[object Object],[object Object]
CSS Sprites ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data URI ,[object Object],[object Object],[object Object]
Alternatives to images ,[object Object],[object Object],[object Object],[object Object]
Exercise: Optimizing Images for Mobile Devices
Presenting content based on context ,[object Object],[object Object],[object Object],[object Object],[object Object]
Designing for multiple devices ,[object Object],[object Object],[object Object],[object Object]
HTML5 form support ,[object Object],New Attributes: placeholder autofocus autocorrect autocomplete autocapitalize New Input Types: search email url tel number (stepper) range (slider) dates
Take advantage of mobile device capabilities ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Webkit specific features ,[object Object],[object Object],[object Object],[object Object]
Exercise: Designing for the Mobile Context
Managing resources ,[object Object],[object Object],[object Object],http://www.modernizr.com
Media Query support ,[object Object],Respond.js from the Filament Group https://github.com/scottjehl/Respond (gzipped version is 1kb) css3-mediaqueries-js by Wouter van der Graaf http://code.google.com/p/css3-mediaqueries-js/ (15kb uncompressed) * Don’t use @font-face rules in IE-based media queries
Combine resources when possible ,[object Object],[object Object],/*mobile styles*/@media only screen and (max-width:480px) { }
Compress external resources ,[object Object],[object Object]
Exercise: Managing Resources
Controlling the viewport ,[object Object],[object Object],[object Object]
Meta viewport syntax This syntax tells the device to set the viewport width to the actual device width to ensure the proper media query styles are used, and set the initial page scale to 100%. <meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;>
Enhancing mobile experiences ,[object Object],[object Object]
Exercise: Enhancing mobile experiences
Thank you! @jameswillweb | twitter www.simpleprimate.com | dead blog
1 of 40

More Related Content

What's hot(20)

Responsive images are here. Now what?Responsive images are here. Now what?
Responsive images are here. Now what?
Jason Grigsby955 views
State of jQuery '09State of jQuery '09
State of jQuery '09
jeresig18.2K views
Beyond Responsive [18F 2015]Beyond Responsive [18F 2015]
Beyond Responsive [18F 2015]
Aaron Gustafson5.2K views
Responsive Web Design: Tips and TricksResponsive Web Design: Tips and Tricks
Responsive Web Design: Tips and Tricks
Gautam Krishnan4.8K views
Web Standards And ProtocolsWeb Standards And Protocols
Web Standards And Protocols
Steven Cahill5.6K views
Real World Web StandardsReal World Web Standards
Real World Web Standards
gleddy18K views
Sniffing the Mobile ContextSniffing the Mobile Context
Sniffing the Mobile Context
Andy Davies3.2K views
What does the browser pre-loader do?What does the browser pre-loader do?
What does the browser pre-loader do?
Andy Davies10.7K views
Pinkoi Mobile WebPinkoi Mobile Web
Pinkoi Mobile Web
mikeleeme15K views
High Performance Mobile (SF/SV Web Perf)High Performance Mobile (SF/SV Web Perf)
High Performance Mobile (SF/SV Web Perf)
Steve Souders18.6K views
How fast are we going now?How fast are we going now?
How fast are we going now?
Steve Souders37.5K views
Html5 on Mobile(For Developer)Html5 on Mobile(For Developer)
Html5 on Mobile(For Developer)
Adam Lu3.3K views
Imagesandvideo stockholm webmeetupImagesandvideo stockholm webmeetup
Imagesandvideo stockholm webmeetup
Doug Sillars550 views

Viewers also liked(10)

Going Fast on the Mobile WebGoing Fast on the Mobile Web
Going Fast on the Mobile Web
Jason Grigsby30.3K views
A Web for EveryoneA Web for Everyone
A Web for Everyone
jameswillweb3.9K views
Optimizing Sites for Mobile DevicesOptimizing Sites for Mobile Devices
Optimizing Sites for Mobile Devices
jameswillweb2.9K views
The Seven Deadly Sins 4 Mobile App Downloads!The Seven Deadly Sins 4 Mobile App Downloads!
The Seven Deadly Sins 4 Mobile App Downloads!
Alok Rodinhood Kejriwal7.7K views
Visual Design with DataVisual Design with Data
Visual Design with Data
Seth Familian2.9M views

Similar to Optimizing Sites for Mobile Devices(20)

Media queries and frameworksMedia queries and frameworks
Media queries and frameworks
Nicole Ryan2.8K views
Mobile Responsive ​ Website Designing.pdfMobile Responsive ​ Website Designing.pdf
Mobile Responsive ​ Website Designing.pdf
SEO expate Bangladesh Ltd3 views
Responsive Web Designing FundamentalsResponsive Web Designing Fundamentals
Responsive Web Designing Fundamentals
ADMEC Multimedia Institute765 views
Responsive web designing ppt(1)Responsive web designing ppt(1)
Responsive web designing ppt(1)
admecindia139.3K views
Responsive Web DesignResponsive Web Design
Responsive Web Design
Tung Dang1.4K views
Responsive web design guidelinesResponsive web design guidelines
Responsive web design guidelines
Sagar Bhosale6 views
Responsive Web design ZambigResponsive Web design Zambig
Responsive Web design Zambig
Tribune Media579 views
Responsive Design for SharePointResponsive Design for SharePoint
Responsive Design for SharePoint
Cathy Dew9.2K views
BootstrapBootstrap
Bootstrap
Fajar Baskoro4.5K views
Adobe 30iun2011Adobe 30iun2011
Adobe 30iun2011
Agora Group297 views
Responsive web designingResponsive web designing
Responsive web designing
Aanand Bohara259 views
Website redesignWebsite redesign
Website redesign
OptfinITy246 views
Responsive Web DesignResponsive Web Design
Responsive Web Design
Chiheb Chebbi2.8K views
G0373049057G0373049057
G0373049057
theijes335 views
Responsive Web DesignResponsive Web Design
Responsive Web Design
John Mark ジョンマーク956 views
Responsive web designResponsive web design
Responsive web design
Zeeshan Khan860 views

Recently uploaded(20)

Web Dev - 1 PPT.pdfWeb Dev - 1 PPT.pdf
Web Dev - 1 PPT.pdf
gdsczhcet48 views
CXL at OCPCXL at OCP
CXL at OCP
CXL Forum183 views
[2023] Putting the R! in R&D.pdf[2023] Putting the R! in R&D.pdf
[2023] Putting the R! in R&D.pdf
Eleanor McHugh34 views
ChatGPT and AI for Web DevelopersChatGPT and AI for Web Developers
ChatGPT and AI for Web Developers
Maximiliano Firtman152 views
METHOD AND SYSTEM FOR PREDICTING OPTIMAL LOAD FOR WHICH THE YIELD IS MAXIMUM ...METHOD AND SYSTEM FOR PREDICTING OPTIMAL LOAD FOR WHICH THE YIELD IS MAXIMUM ...
METHOD AND SYSTEM FOR PREDICTING OPTIMAL LOAD FOR WHICH THE YIELD IS MAXIMUM ...
Prity Khastgir IPR Strategic India Patent Attorney Amplify Innovation23 views

Optimizing Sites for Mobile Devices

  • 1.
  • 2. Hello there... I want to talk about optimizing sites for mobile devices
  • 3. Why? Because we now live in the mobile age In 2010: 940 million global mobile broadband subscribers 226 million in the Americas 62 million in the US -mobithinking.com
  • 4.
  • 5. Recent sampling of web designers
  • 6. The importance of a mobile strategy Failing to develop a mobile strategy means you’re ignoring a large portion of your users
  • 7.
  • 8. Often, it’s not really a choice you get to make Let’s be honest In many cases you’re not going to be able to design a separate mobile site, or develop a mobile app. What then?
  • 9.
  • 10.
  • 11. Demo: Planning for mobile devices
  • 12. CSS Media Queries link rel=&quot;stylesheet&quot; href=&quot;desktop.css&quot; media=&quot; [not | only ] screen [and] (expression) &quot;
  • 13. CSS Media Queries Logical operator “ and ” constrains a query based on the expression that follows it. There is no “ or ” operator, normal comma-separated lists serve as “ or .” link rel=&quot;stylesheet&quot; href=&quot;desktop.css&quot; media=&quot;screen and (min-width:500px)&quot;
  • 14. CSS Media Queries Media Features width * height * device-width * device-height * orientation aspect-ratio * device-aspect-ratio * * accepts “min-” and “max-” prefixes color * color-index * monochrome * resolution * scan grid
  • 16.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24. Exercise: Optimizing Images for Mobile Devices
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30. Exercise: Designing for the Mobile Context
  • 31.
  • 32.
  • 33.
  • 34.
  • 36.
  • 37. Meta viewport syntax This syntax tells the device to set the viewport width to the actual device width to ensure the proper media query styles are used, and set the initial page scale to 100%. <meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;>
  • 38.
  • 40. Thank you! @jameswillweb | twitter www.simpleprimate.com | dead blog