PRESENTED BY Content Authoring for Responsive Design Mike Hamilton V.P. Product Evangelism at MadCap Software

Slides:



Advertisements
Similar presentations
Mike Hamilton V.P. Product Management MadCap Software Cascading Style Sheets (Part 3): Images and Text.
Advertisements

Creating Special Effects with CSS
Tutorial 4: Creating page layout with css
Stylin’ with CSS. 2 Topics What is CSS? Why CSS? CSS Examples.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
Mike Hamilton V.P. Product Management MadCap Software Cascading Style Sheets (Part 2): Fonts and Beyond.
Beginning Web Site Creation: Dreamweaver CS4. XHTMLCSS  Describes the structure  Content  Collection of styles  Formatting body { background-color:
Web Workshop: CSS Objectives: - “What is CSS?” - Structure of CSS - How to use CSS in your webpage.
Cascading Style Sheet (CSS) Instructor: Dr. Fang (Daisy) Tang
Responsive Web Design Sheri German, Instructor Montgomery College.
Chapter 8 More on Links, Layout, and Mobile Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Mike Hamilton V.P. Product Management MadCap Software CasCading Style Sheets (CSS) An introduction and overview.
Stylin’ with CSS. 2 Topics What is CSS? Why CSS? CSS Examples.
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 – Creating Data Tables. Tutorial #6 Review – Layouts Two Column Fixed Width, Three Column Fixed Width Class VS. ID Container Universal Selector.
CIT 256 Mobile Web Development Dr. Beryl Hoffman.
Chapter 8 More on Links, Layout, and Mobile Copyright © 2013 Terry Ann Morris, Ed.D revised by Bill Pegram, 9/24/
© 2012 Adobe Systems Incorporated. All Rights Reserved. LEARNING THE LANGUAGE OF THE WEB INTRODUCTION TO HTML AND CSS.
Publishing to Mobile Devices: Best Practices and Strategies Mike Hamilton V.P. Product Evangelism MadCap Software
CS 174: Web Programming April 21 Class Meeting Department of Computer Science San Jose State University Spring 2015 Instructor: Ron Mak
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
Cascading Style Sheets CSS.  Standard defined by the W3C  CSS1 (released 1996) 50 properties  CSS2 (released 1998) 150 properties (positioning)  CSS3.
Today’s objectives  Complete web page  Using xhtml & CSS  Adding CSS to documents Embed url(File);  CSS.
Mike Hamilton V.P. Product Evangelism MadCap Software Content Authoring for Responsive Design.
Today’s objectives  Presentational | Inline | Block | Validate  CSS | Rules | Declarations.
Web Development & Design Foundations with XHTML
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
INTRODUCTION TO HTML5 Styling Text. Change the Font Size  You can use the font-size property to change the font size for a document’s text.  Instead.
18 People Surveyed HTML (HyperText Markup Language) HTML “tags” Describes structure Building blocks Headings, paragraphs, lists, links, images, quotes,
1 Working with Cascading Style Sheet (CSS) (contd.)  What we will cover… 1. Color (decimal and hexadecimal representation) 2. Floating elements 3. Styling.
Week 8 – Part 3 More on Links, Layout, and Mobile Key Concepts 1.
Cascading Style Sheets by Pavlovic Nenad by. Presentation Contents  What is CSS?  Why CSS?  Types of Style Sheets  Style Sheets Syntax  Box Formatting.
Cascading Style Sheets CSS by Pavlovic Nenad by. 2Cascading Style Sheets Presentation Contents What are CSS? What are CSS? History of CSS History of CSS.
Stylin’ with CSS Monday October 8 th and Tuesday October 9 th.
Tutorial #6 – Creating Fixed Width Layouts. Tutorial #5 Review – Box Model Every html element is surround by a box Content, Padding, Border, Margin Can.
Cascading Style Sheets (CSS) Within the Enterprise Architecture Framework (EAF) Wes Ziegeler August 3, 2006.
CSS BEST PRACTICES.
CSS WORKSHOP Design Principles for Web Standards.
CIS234A Lecture 8 Instructor Greg D’Andrea. Review Text Table contains only text, evenly spaced on the Web page in rows and columns uses only standard.
A really fairly simple guide to: mobile browser-based application development (part 2, CSS) Chris Greenhalgh G54UBI / Chris Greenhalgh
Cascading Style Sheets
Cascading Style Sheets CSS.  Standard defined by the W3C  CSS1 (released 1996) 50 properties  CSS2 (released 1998) 150 properties (positioning)  CSS3.
XHTML Formatting font with a style declaration. Formatting Font HTML uses the font tag to change size and family of font But… the font tag is being deprecated.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.
Positioning and Printing Creating Special Effects with CSS.
INFO1300 LAB7 OCT.11TH RESPONSIVE DESIGN. WHAT IS RESPONSIVE WEB DESIGN A mix of flexible grids and layouts, images and an intelligent use of CSS media.
Tutorial 4 Creating Special Effects with CSS. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Work with CSS selectors.
Tutorial 4 Creating Special Effects with CSS. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Work with CSS selectors.
CSS Hadas Kahsay. Overview  What is CSS  Basic syntax of CSS Rules  How to link CSS style to html documents  Browsers and CSS  Advantages of CSS.
Web Technologies Beginning Cascading Style Sheets (CSS) 1Copyright © Texas Education Agency, All rights reserved.
Web Development & Design Foundations with XHTML Chapter 6 Key Concepts.
Developing Web Applications with HTML and CSS “Selectors and Properties”
Style Sheets. Coding Style Sheets  Style sheets use RULES to create the style  A selector (a tag or user-defined style name)  and then declarations.
Responsive Web Design (RWD) MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/11/2016.
OV Copyright © 2008 Element K Content LLC. All rights reserved. Working with Web Pages  An Introduction to Cascading Style Sheets  Format a Web.
Cheryl Wolfe Web Services Administrator Tampa-Hillsborough County Public Library James Day Electronic Services Librarian Embry-Riddle Aeronautical University.
CS 120: Introduction to Web Programming Lecture 10: Extra Features and Website Design Part 1 Tarik Booker CS 120 California State University, Los Angeles.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 3 Introducing Cascading Style Sheets.
>> CSS Layouts. Recall Properties of Box – Border (style, width, color) – Padding – Margin – Display – Background – Dimension Welcome Padding Area Border.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Essential Questions What challenges do mobile devices present to Web designers? What are the basic concepts.
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
How HTML responsiveness translates to PDF
>> Navigation and Layouts in CSS
Concepts for fluid layout
RESPONSIVE WEB DESIGN.
IBM Kenexa BrassRing on Cloud Responsive Apply: Visual Branding Tool
Concepts for fluid layout
Cascading Style Sheets III B. Com (Paper - VI) & III B
Presentation transcript:

PRESENTED BY Content Authoring for Responsive Design Mike Hamilton V.P. Product Evangelism at MadCap Software

AGENDA Responsive Design Core Components of Responsive Design The Role of Content Structure The Role of CSS The Role of Media Queries Responsive Design Strategies Responsive Frameworks

WHAT IS RESPONSIVE DESIGN?

A concept, first described by web designer Ethan Marcotte -web-designhttp://alistapart.com/article/responsive -web-design A design concept created to address “stress points”

WHAT IS RESPONSIVE DESIGN? Responsive Design is NOT: »A smaller version of your page »Removing content to fit »A separate version for each and every device out there

WHAT IS RESPONSIVE DESIGN? Responsive Design is: »A single version of your content »Delivered to your customer »In a way that is easily understood »No matter what device they are using

CORE COMPONENTS OF RESPONSIVE DESIGN

CORE COMPONENTS Document Structure CSS Media Queries

DOCUMENT STRUCTURE

In Responsive Design less is more Keep formatting out of the core document EXAMPLE: No more hidden tables

DOCUMENT STRUCTURE

In addition to hidden layout tables, other items to avoid: »Fixed size DIV containers »Fixed size images »Any inline formatting/sizing

DOCUMENT STRUCTURE It may feel like going backward, but, the more your pages look like this…

DOCUMENT STRUCTURE …the easier Responsive Design will be. DEMO

CSS

The second leg of the RD stool is Cascading Style Sheets (CSS) »All look/feel/formatting »Block level (p, H1, H2, etc.) »Character level (span) »Grouping/formatting level

CSS

MEDIA QUERIES

The new “Secret Sauce” of Responsive Design »Part of the CSS3 spec. »Derived from CSS2 Media Types

MEDIA screen body { color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 0.8em; print body { color: #000000; font-family: “Times New Roman”; font-size: 10pt; }

MEDIA QUERIES Media Queries provide for: »Testing the parameters of the viewing device »Dynamically adjusting the CSS information based on the reported parameters

MEDIA screen and (max-width: 480px) { body { background-color: yellow; screen and (min-width: 481px) and (max- width: 650px) { body { background-color: red; screen and (min-width: 651px) { body { background-color: green; }

MEDIA screen and (max-width: 480px) { body { background-color: yellow; }

MEDIA screen and (min-width: 481px) and (max-width: 650px) { body { background-color: red; }

MEDIA screen and (min-width: 651px) { body { background-color: green; } DEMO

MEDIA QUERIES What can Media Queries test? »Width/Height (display area) »Width/Height (device) »Orientation(portrait/landscape) »Aspect Ratio »Resolution (pixel density)

RESPONSIVE DESIGN STRATEGIES

STRATEGIES First, focus on content areas and purposes, rather than specific formatting Think of each of these areas as a grid element

STRATEGIES Header Content 1 Content 2 Content 3

STRATEGIES Header Content 1 Content 2 Content 3

STRATEGIES Header Content 1 Content 2 Content 3

STRATEGIES To control your grid elements the concept of “break-points” was developed Break-points are the media query value where you want your grid to change

STRATEGIES There are differing break-point strategies One school is to create break-points based on the resolution of common devices …except

COMMON DEVICE RESOLUTIONS HTC is just one phone vendor Android is just one type of HTC phone

COMMON DEVICE RESOLUTIONS

Resolution / Graphic Array 2880 x x x 1600 WQXGA WQXGA 2560 x 1440 (W)QHD (W)QHD 2048 x 1536 QXGA QXGA 1920 x x 1200 WUXGA WUXGA 1920 x 1080 FHD FHD 1680 x 1050 WSXGA+ WSXGA x 1200 UXGA UXGA Resolution / Graphic Array 1600 x 900 HD+ HD x 900 WXGA+ WXGA x 768 WXGA WXGA 1280 x 1024 SXGA SXGA 1280 x 800 WXGA WXGA 1280 x 768 WXGA WXGA 1280 x 720 HD / WXGA HD / WXGA 1024 x 768 XGA XGA 1024 x 600 WSVGA Resolution / Graphic Array 400 x 240 WQVGA WQVGA 320 x 240 QVGA QVGA Resolution / Graphic Array 1136 x x 640 DVGA DVGA 960 x 540 qHD qHD 854 x 480 FWVGA FWVGA 800 x 480 WVGA WVGA 720 x x 480 VGA VGA 640 x 360 nHD nHD 480 x x 320 HVGA HVGA DEMO Over 31 different device resolutions in use

STRATEGIES An easier break-point strategy: »Determine the min/max width values you must support »Resize your browser and watch for where your content breaks DEMO

STRATEGIES Break the large image into smaller images Add CSS class data as necessary DEMO

STRATEGIES Now create the Media screen and (max-width: 450px){ body {background-color: yellow; } p.mercury{ text-align: center; } p.venus{ text-align: center; } p.earth { text-align: center; } p.mars{ text-align: center; } p.jupiter{ text-align: center; } } DEMO

STRATEGIES Now create the Media screen and (min-width: 451px) and (max-width: 910px) { body { background-color: red; } p.mercury { text-align: center; } img.mercury { } img.venus { float: left; } img.earth { float: right; } img.mars { float: left; clear: both;} img.jupiter { float: right; } } DEMO

STRATEGIES Now create the Media screen and (min-width: 911px) { body { background-color: green; } img.mercury { float: left; } img.venus{ float: left; } img.earth{ float: left; } img.mars { float: left; } img.jupiter{ float: left; } } DEMO

IS THERE AN EASIER WAY?

RESPONSIVE FRAMEWORKS

Two major frameworks available: Google Bootstrap ZURB Foundation

RESPONSIVE FRAMEWORKS What is The Grid Model? How can I use it?

RESPONSIVE FRAMEWORKS Grid Classes: Row Columns Small Medium Large

RESPONSIVE FRAMEWORKS “Mobile First” strategy Default column definitions: 12 columns per row Default break points: Small = 640px Medium = 1024px Large = 1440px

RESPONSIVE FRAMEWORKS 4 columns 6 columns 3 columns 6 columns 3 columns

RESPONSIVE FRAMEWORKS Time to Put On Your Seat Belts!

RESPONSIVE FRAMEWORKS 12 columns 4 columns

RESPONSIVE FRAMEWORKS 1.Mock-up desired page look 2.Define “bands” (rows) using DIV elements 3.Define content areas using DIV elements within the bands 4.Define content area behavior using the Columns classes/attributes

TOPNAV OUTPUT – GRID Example

Small-12 medium- 8 Small-12 medium- 4 Small-12 medium-5 Small- 12 medium -3 Small-12 medium-4

SUMMARY Responsive Design Core Components of Responsive Design The Role of Content Structure The Role of CSS The Role of Media Queries Responsive Design Strategies Responsive Frameworks

Cascading Style Sheets: Designing for the Web (3rd Edition) (Paperback) by Hakon Wium Lie and Bert Bos ISBN-13: CSS: The Definitive Guide, Third Edition by Eric Meyer ISBN-13: Responsive Web Design with HTML5 and CSS3 by Ben Frain ISBN-13: SUGGESTED READING LIST

QUESTIONS? Mike Hamilton V.P. Product Evangelism at MadCap Software

THANK YOU Mike Hamilton V.P. Product Evangelism at MadCap Software