Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.

Slides:



Advertisements
Similar presentations
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.
Advertisements

Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
Chapter 7 Page Layout Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Principles of Web Design 5 th Edition Chapter Nine Site Navigation.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.
Chapter 8 More on Links, Layout, and Mobile Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
RESPONSIVE DESIGN Sources: Kadlec, T. (2012). Implementing responsive design. Berkeley, California: New Riders Publishing. MarcotteMarcotte, E. (2010).
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 12: Building Responsive Webpages.
TUTORIAL 8: Enhancing a Web Site with Advanced CSS
Web Development & Design Foundations with XHTML Chapter 6 Key Concepts.
Chapter 8 More on Links, Layout, and Mobile Copyright © 2013 Terry Ann Morris, Ed.D revised by Bill Pegram, 9/24/
CIS 1310 – HTML & CSS 7 More on Links, Layout & Mobile.
Page Layout & Mobile Web Using columns, grid systems, etc… to layout sites for desktops and mobile.
Web Development & Design Foundations with XHTML
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
Developing Content and Layout Lesson 6. Creating Web Site Content Online users scan a page, read key words of text, and check out graphics Reading from.
Week 8 – Part 3 More on Links, Layout, and Mobile Key Concepts 1.
Website Development with Dreamweaver
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Week 8 – Part 2 Page Layout Basics Key Concepts 1.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 5 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.
Web Development & Design Foundations with HTML5 7th Edition
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Responsive Design Design that Adapts to Different Devices SoftUni Team Technical Trainers Software University
Web Development & Design Foundations with XHTML Chapter 6 Key Concepts.
Jozef Goetz, Credits:© Pearson Education Copyright (c) 2009 Prentice-Hall. All rights reserved. expanded by J. Goetz, 2015.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
HTML Comprehensive Concepts and Techniques Second Edition Creating Frames on a Web Page.
Copyright © Terry Felke-Morris Web Development & Design Foundations with HTML5 8 th Edition CHAPTER 14 KEY CONCEPTS 1 Copyright.
Web Development & Design Foundations with HTML5
School of Business Administration
Web Development & Design Foundations with HTML5 7th Edition
Web Development & Design Foundations with XHTML
CSS Wrap-Up Lists as a Navigation System CSS Layout CSS Animations
Chapter 7 Absolute/relative hyperlinks Frag id 3-column site
Concepts for fluid layout
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with HTML5
7 More on Links, Layout & Mobile.
Objectives Create a media query Work with the browser viewport
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with HTML5 7th Edition
Web Development & Design Foundations with HTML5 7th Edition
Chapter 7 Page Layout Basics Key Concepts
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with HTML5
Chapter 8 More on Links, Layout, and Mobile Key Concepts
Basics of Web Design Chapter 7 Page Layout Basics Key Concepts
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with H T M L 5
Basics of Web Design Chapter 8 More on Links, Layout, and Mobile Key Concepts Copyright © 2014 Terry Ann Morris, Ed.D.
Web Development & Design Foundations with HTML5
Responsive Web Design (RWD)
Chapter 7 Absolute/relative hyperlinks Frag id 3-column site
Web Development & Design Foundations with XHTML
Web Development & Design Foundations with HTML5
Web Development & Design Foundations with HTML5
Concepts for fluid layout
17 RESPONSIVE WEB DESIGN.
Presentation transcript:

Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris

MOBILE WEB LIMITATIONS  Small Screen Size  Low bandwidth  Limited fonts  Limited color  Awkward controls  Lack of Flash support  Limited processor and memory  Cost per kilobyte

Copyright © Terry Felke-Morris MOBILE WEB DESIGN BEST PRACTICES Recommended by the W3C Optimize Layout, Navigation, Graphics, and Text for Mobile Use Design for One Web

Copyright © Terry Felke-Morris OPTIMIZE LAYOUT FOR MOBILE USE Single column design Limit scrolling to one direction Use heading elements Use lists Avoid using tables Provide labels for form controls Avoid using pixel units in style sheets Avoid absolute positioning in style sheets Hide content that is not essential for mobile use.

Copyright © Terry Felke-Morris OPTIMIZE NAVIGATION FOR MOBILE USE Provide minimal navigation near the top of the page Provide consistent navigation Avoid hyperlinks that open files in new windows or pop-up windows Try to balance both the number of hyperlinks on a page and the number of levels needed to access information

Copyright © Terry Felke-Morris OPTIMIZE GRAPHICS FOR MOBILE USE Avoid displaying images that are wider than the screen width Configure alternate, small optimized background images Some mobile browsers will downsize all images, so avoid using images that contain text Avoid the use of large graphic images Specify the size of images Provide alternate text for graphics and other non-text elements.

Copyright © Terry Felke-Morris OPTIMIZE TEXT FOR MOBILE USE Configure good contrast between text and background colors Use common font typefaces Configure font size with em units or percentages Use a short, descriptive page title

Copyright © Terry Felke-Morris VIEWPORT META TAG  Default action for most mobile devices is to zoom out and scale the web page  Viewport Meta Tag  Created as an Apple extension to configure display on mobile devices  Configures width and initial scale of browser viewport 8

Copyright © Terry Felke-Morris CSS3 MEDIA QUERIES  Media Query  Determines the capability of the mobile device, such as screen resolution  Directs the browser to styles configured specifically for those capabilities  Example with link tag  Example within only all and (max-width: 768px) { } 9

Copyright © Terry Felke-Morris HANDS-ON PRACTICE 7.7 (PAGE 322)  chapter7/starter3.html  chapter7/query/index.html 10

Copyright © Terry Felke-Morris FLEXIBLE IMAGES  Edit HTML: remove height and width attributes  CSS: img { max-width: 100%; height : auto; } 11

Copyright © Terry Felke-Morris HANDS-ON PRACTICE 7.8 (PAGE 325)  chapter7/starter4.html  chapter7/flexible/index.html 12

Copyright © Terry Felke-Morris TESTING MOBILE DISPLAY OPTIONS  Test with a mobile device  Emulators  Opera Mobile Emulator  Mobilizer  Opera Mini Simulator  iPhone Emulator  Test with a Desktop Browser  Install an iOS or Android SDK 13

Copyright © Terry Felke-Morris CSS FLEXIBLE BOX LAYOUT MODULE  Referred to as “flexbox”  GREAT way to easily configure multi-column page layout  elements contained within a flex container can be configured either horizontally or vertically in a flexible manner with flexible sizing  Flexbox is not yet well-supported by browsers.  Check for the current level of browser support.  Common Properties used with flexbox: displayflex flex-directionorder flex-wrap justify-content 14

Copyright © Terry Felke-Morris USING FLEXBOX  Configure a flexible container “flex container”  Configure the direction of the flex  Example: #demo { display: -webkit-flex; display: flex; -webkit-flex-direction: row; flex-direction: row; }  Adjust the proportion of the “flex item” elements in the container  Example: nav { -webkit-flex: 1; flex: 1; } main { -webkit-flex: 7; flex:7; } aside { -webkit-flex:2; flex: 2 } 15

Copyright © Terry Felke-Morris HANDS-ON PRACTICE 7.9 (PAGE 330)  chapter7/starter5.html  chapter7/flexbox/index.html 16

Copyright © Terry Felke-Morris CSS DEBUGGING TIPS  Manually check syntax errors  Use W3C CSS Validator to check syntax errors   Configure temporary background colors  Configure temporary borders  Use CSS comments to find the unexpected /* the browser ignores this code */  Don’t expect your pages to look exactly the same in all browsers!  Be patient! 17