Responsive vs. Adaptive Web Design A responsive web design will "fluidly change and respond to fit any screen or device size" An adaptive design will "change.

Slides:



Advertisements
Similar presentations
Week 10 Creating Positioned Layouts
Advertisements

Very quick intro HTML and CSS. Sample html A Web Title.
Part 5 Introduction to CSS. CSS Display - Block and Inline Elements A block element is an element that takes up the full width available, and has a line.
With CSS, a color is most often specified by: a HEX value - like "#ff0000" an RGB value - like "rgb(255,0,0)" a color name - like "red“ Example h1.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
Media Queries Jeffery Davis CIT media is used to define different style rules for different media types and devices. Media queries.
MS Excel Lesson 6 – Printing. MS Excel – Print Preview Set print area.
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
CIT 256 Mobile Web Development Dr. Beryl Hoffman.
CSS Box Model. What is the CSS Box Model? The “Box Model” is a tool we use to lay out our web pages in a number of individual "boxes" or "containers".
Chapter 8 More on Links, Layout, and Mobile Copyright © 2013 Terry Ann Morris, Ed.D revised by Bill Pegram, 9/24/
WDV 331 Dreamweaver Applications Designing Websites for Mobile Devices Dreamweaver CS6 Chapter 11.
Layouts with CSS Web Design – Section 4-12 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course.
Principles of Web Design 6 th Edition Chapter 7 – Page Layouts.
COMP 135 Web Site Design Intermediate Week 8. Responsive Web Design Responsive Design Adaptive Design.
Tutorial 4 Creating Special Effects with CSS
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
Tutorial 8 Enhancing a Web Site with Advanced CSS
HTML, CSS, and XML Tutorial 8 Enhancing a Web Site with Advanced CSS.
Tutorial #6 – Creating Fixed Width Layouts. Tutorial #5 Review – Box Model Every html element is surround by a box Content, Padding, Border, Margin Can.
Today’s Agenda Advanced CSS Techniques Floating Z-index Centering Sliding Doors Fluid Layouts CSS3 Advanced CSS Lab Mini Project #2.
Web Design: Responsive Layouts Sarah Murto 09/29/ W - Graduate Workshop.
+ Responsive Design Communication Strategy for Mobile, Desktop Los Alamos National Laboratory Ask a question at #interlab.
Layout with Styles Castro Chapter 11. Tables vs. CSS You can produce “liquid layouts” (layouts that stretch as the browser is resized) using tables or.
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.
Eric Meyer on CSS Project 12 pp Project 12 Files.
Today’s objectives Layouts | floats Measurement units Type properties
CIT 256 CSS Intro & Dreamweaver Built-in Layouts Dr. Beryl Hoffman.
CONTROLLING Page layout
Today’s objectives  Announcements  Positioning  Measurement units.
Understanding CSS Cascading Style Sheets control the presentation of content in HTML pages Style Sheets separate formatting from the content –Styles defined.
Basic Elements of Responsive Web Design Jason Bengtson, MLIS, AHIP Emerging Technologies/R&D Librarian UNM Health Sciences Library and Informatics Center.
CS 120: Introduction to Web Programming Lecture 10: Extra Features and Website Design Part 1 Tarik Booker CS 120 California State University, Los Angeles.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Essential Questions What challenges do mobile devices present to Web designers? What are the basic concepts.
Laying out Elements with CSS
CSCI 1720 W3.CSS – Part 1 East Tennessee State University Department of Computing CSCI 1720 Intermediate Web Design.
CSS Box Model.
The Box Model in CSS Web Design – Sec 4-8
>> Navigation and Layouts in CSS
The Box Model in CSS Web Design – Sec 4-8
CSS Layouts: Grouping Elements
HTML5 Level II Session V Chapter 8 - How to Use Responsive Web Design (RWD)
A better approach to mobile
Responsive Web Pages.
Concepts for fluid layout
CS1220 Web Programming Saloni Chacha.
Introduction to CSS Media Query - Lesson 11
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
The Box Model in CSS Web Design – Sec 4-8
Web Systems & Technologies
RESPONSIVE WEB DESIGN.
Using CSS.
Responsive Design.
Objectives Create a reset style sheet Explore page layout designs
CSS Borders and Margins.
Session VI Chapter 8 - How to Use Responsive Web Design (RWD)
Creating a Webpage with External CSS
Chapter 8 - How to Use Responsive Web Design (RWD)
Cascading Style Sheets™ (CSS)
Responsive Web Design (RWD)
Floating and Positioning
Web Page Layout Imran Rashid CTO at ManiWeber Technologies.
Concepts for fluid layout
CSS Box Model.
CSS Box Model.
Cascading Style Sheets
Positioning Boxes Using CSS
Presentation transcript:

Responsive vs. Adaptive Web Design A responsive web design will "fluidly change and respond to fit any screen or device size" An adaptive design will "change to fit a predetermined set of screen and device sizes"

Responsive Design Set the boundaries –Maintains left, right, top, bottom –Only works with absolute positioned divs Use percentages Adjust with "calc"* –Can be used anywhere in CSS –Compatibility can be an issue

Centering Elements Relative divs are centered with margins at "auto" –Margin: top right bottom left Absolute divs must combine both positioning and margins –Left: 50%; –Margin: –halfwidth;

Setting Element Sizes Define a resizing function function resizewin() { winw = $(window).innerWidth();winh = $(window).innerHeight();// Use this to resize specific elements var bsize = winw + "px " + winh + "px"; $("body").css("background-size", bsize); } Call initially, and whenever the window is resized $(document).ready(function(){ resizewin(); $(window).resize(function(e) { resizewin(); }); });

Setting Element Sizes Different media styles –Sizes: height, width, min-height, max-width –Orientation: landscape, portrait –Aspect-ratio: horizontal/vertical –Resolution: dpi, dpcm, dppx –Color: bits per color component Two ways to include in your page: –Link to different CSS files based on device size –Specify different CSS rules based on device (min-width: 700px) and (orientation: landscape) {... }