CIT 256 Mobile Web Development Dr. Beryl Hoffman.

Slides:



Advertisements
Similar presentations
Tutorial 4: Creating page layout with css
Advertisements

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.
Introducing Cascading Style Sheets  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles  Text Formatting with CSS.
XP 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
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.
Responsive Web Design Design websites so that they can adapt to different devices seamlessly. Image by Muhammed RafizeldiMuhammed Rafizeldi.
RESPONSIVE DESIGN Sources: Kadlec, T. (2012). Implementing responsive design. Berkeley, California: New Riders Publishing. MarcotteMarcotte, E. (2010).
1 Responsive Web Design for Universal Access Image: Kate Walser CX Insights
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
Getting Started with Adobe Dreamweaver CS6. Unit Objectives Define web design software Start Adobe Dreamweaver CS6 View the Dreamweaver workspace Work.
Lesson 15: Mobile Design and Layout Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6.
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.
CIT 256 Organizing Large Websites: Divs, DW Templates Dr. Beryl Hoffman.
Creating A Simple Web Page. Step 1- Open Dreamweaver & Create A New Page (File New) and blank.
Advanced CSS - Page Layout. Advanced CSS  Compound Selectors:  Is a Dreamweaver term, not a CSS term.  Describes more advanced types of selectors such.
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.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Tutorial 4: Using CSS for Page Layout. 2 Objectives Session 4.1 Explore CSS layout Compare types of floating layouts Examine code for CSS layouts View.
Dreamweaver – Setting up a Site and Page Layouts Web Design Section 7-2 Part or all of this lesson was adapted from the University of Washington’s “Web.
Using Styles and Style Sheets for Design
INTRODUCTION TO HTML5 CSS Styles. Understanding Style Sheets  HTML5 enables you to define many different types of content on a web page, including headings,
Basic Responsive Design Techniques. Let’s take a look at this basic layout. It has a header and two columns of text, in a box that is centered on the.
Chapter 2 Developing a Web Page. Chapter 2 Lessons Introduction 1.Create head content and set page properties 2.Create, import, and format text 3.Add.
Chapter 2 Developing a Web Page. A web page is composed of two distinct sections: –The head content –The body Creating Head Content and Setting Page Properties.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
Week 8 – Part 3 More on Links, Layout, and Mobile Key Concepts 1.
Copyright 2012 Adobe Systems Incorporated. All rights reserved. ® Copyright 2010 Adobe Systems Incorporated. All rights reserved. ® Copyright 2012 Adobe.
Style Sheets for Print and Mobile Media Types Supplemental Material.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
© 2011 Delmar, Cengage Learning Chapter 8 Using Styles and Design Style Sheets for Design.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.
Tutorial #6 – Creating Fixed Width Layouts. Tutorial #5 Review – Box Model Every html element is surround by a box Content, Padding, Border, Margin Can.
Use CSS to Implement a Reusable Design Selecting a Dreamweaver CSS Starter Layout is the easiest way to create a page with a CSS layout You can access.
CSS BEST PRACTICES.
Web Design: Responsive Layouts Sarah Murto 09/29/ W - Graduate Workshop.
Introducing Cascading Style Sheets. Cascading Style Sheet Basics  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles.
Web Design Part I. Click Menu Site to create a new site root.
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.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
GO MOBILE. GO RESPONSIVE. 185 mil mobile internet users in India
CIT 256 CSS Intro & Dreamweaver Built-in Layouts Dr. Beryl Hoffman.
Positioning Objects with CSS and Tables
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.
Responsive Web Design (RWD) MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/11/2016.
Understanding CSS Cascading Style Sheets control the presentation of content in HTML pages Style Sheets separate formatting from the content –Styles defined.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
Basic Elements of Responsive Web Design Jason Bengtson, MLIS, AHIP Emerging Technologies/R&D Librarian UNM Health Sciences Library and Informatics Center.
Dreamweaver – Setting up a Site and Page Layouts Web Design Section 7-2 Part or all of this lesson was adapted from the University of Washington’s “Web.
Basic Web Design Week 3 - Graphics UVICELL. Web Graphics Concepts for Week 3 Selecting the right format for your image Creating a name banner for your.
Dreamweaver – Setting up a Site and Page Layouts
>> Navigation and Layouts in CSS
Implementing Responsive Design
A better approach to mobile
Responsive Web Pages.
Positioning Objects with CSS and Tables
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Dreamweaver – Setting up a Site and Page Layouts
CSS part 2 Outro.
Responsive Design.
Basics of Web Design Chapter 8 More on Links, Layout, and Mobile Key Concepts Copyright © 2014 Terry Ann Morris, Ed.D.
Responsive Web Design (RWD)
WEB DESIGN FOR MULTIPLE SCREENS
Web Page Layout Imran Rashid CTO at ManiWeber Technologies.
Positioning Objects with CSS and Tables
Various mobile devices
17 RESPONSIVE WEB DESIGN.
Presentation transcript:

CIT 256 Mobile Web Development Dr. Beryl Hoffman

Mobile User Statistics ► ► Mobile web access predicted to overtake desktop web access! It already has in China and India in 2013 ( ) ► ► See marketing/mobile-marketing-analytics/mobile-marketing- statistics / for more stats. marketing/mobile-marketing-analytics/mobile-marketing- statistics / ► ► Companies have to be ready with mobile-friendly web sites for all sizes of devices!

Multiple Web Sites ► When smart phones with web access first started coming out, companies started designing a mobile version of their web sites. ► But then tablets came along, and now there along, and now there are so many screen sizes are so many screen sizes to consider! to consider!

Mobile Web Readiness Testing mobile readiness of web pages/code with device emulators: ► ► ► ►

Responsive Web Design ► Responsive Web Design Definition: designing a web site that responds and adapts itself to the device that accesses it (especially its screen size) ► Coined by Ethan Marcotte, a web designer, in an article e-web-design/ in e-web-design/ e-web-design/

Responsive Examples ► examples/ examples/ examples/

Dreamweaver Multiscreen Preview Panel Only works for local folder or desktop. Not on hubble/network.

Default Sizes ► iPhones, many Android phones: 320 x 480px (320 is portrait and 480 is landscape). ► iPads, many Android tablets, and smaller laptops: 768 x 1024 ► Desktops: ave px width

Responsive Design Tools 1. CSS Media Queries 2. Adapting size of div sections 3. Adapting number of columns 4. Adapting Font size 5. Adapting Image sizes

CSS Media Queries ► Recognize the device screen size and use different css style files for different sizes.  Desktop.css  Tablet.css  Phone.css

Dreamweaver Media Queries ► Click on the Multiscreen Preview Button and choose Media Queries.

Media Queries cont. ► Click on This Document (or put links in a file) ► Click on Default Presets to get Phone/Tablet/Desktop ► Type in file names, phone.css, tablet.css, at the bottom. ► Hit – to remove a view if you already have a css file you can use.

Link/Media Syntax ► Find out the width of the device: ► Use the appropriate styles or style sheet depending on width: <link href="css/phone.css" rel="stylesheet" type="text/css" media="only screen and <link href="css/phone.css" rel="stylesheet" type="text/css" media="only screen and (min-width: 0px) and (max-width: 480px)" > ► Always link a basic/desktop style sheet first for older browsers (especially IE 8 which doesn’t do media queries).

Fluid Adaptable Layout The layout needs to change in: ► the width of each page element, ► the font size, ► number of columns (multiple columns to just 1 column for a phone display) The standard centered fixed-width layout doesn’t work for smaller screens!

Fluid/Liquid Layout ► Dreamweaver comes with some css layout files you can use (File/New/Blank Page). ► Use liquid instead of fixed size layouts! Ex: 100% width instead of 960px. ► In your own css code, use % instead fixed size px whenever possible.

Divs in Separate CSS Files In each.css file, change the: ► the width of each page element div, ► the font size, ► number of columns (multiple columns to just 1 column for a phone display) A centered fixed-width of px layout doesn’t work for smaller screens!

Changing Div Rules Three Options: ► Copy rule from desktop.css into phone.css and double click on rule in css panel to edit it. ► Or Create a new rule in phone.css by hitting + at the bottom of CSS panel, give it the same name as the div! ► Or Create a new rule using Format/CSS Styles/New.

Div Widths ► Change the width of each div to fit the appropriate screen. ► If it is 100% width instead of using pixels, it will automatically adjust to the width of the device.

Number of Columns Change navigation in phone.css: ► Change the number of columns to 1 in phone.css by using float: none in the nav div tag. ► Might also need to change the size of the nav buttons and the font size.

Image Sizes ► Add an id to each image (minimize number of images and crop them to minimize white space). ► Add a CSS rule for the image’s id. ► Change the image’s width and height property in this CSS rule. Use CSS to dynamically re-size or crop images. ► Or change its src property to load different sized images in each device’s css file.

Responsive Design Summary 1. CSS Media Queries (separate css files for phone, tablet, desktop) 2. Fluid Adaptable Layout 3. Adapting number of columns 4. Flexible Font size 5. Flexible Image size