Introducing CSS Layout C HAPTER 11. T YPES OF W EB P AGE L AYOUTS  Fixed width  Most control over how your design looks  Can inconvenience some of.

Slides:



Advertisements
Similar presentations
Chapter 3 – Web Design Tables & Page Layout
Advertisements

Web Page Design Using Tables Here you see three examples of how tables can be used to organize your content. We call this page layout or design. You can.
J ENWARE Chapters 14 & 15 Learning Web Design, Fourth Edition by Jennifer Niederst Robbins Copyright © 2012.
MIS 425 Lecture 2 – HTML Navigation, Colors, tables and Styles Instructor: Martin Neuhard
Chapter 7 Page Layout Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
INTRODUCTORY Tutorial 7 Creating Liquid Layouts. XP Objectives Discern the differences among various types of layouts Create a liquid layout Create a.
Tutorial 4: Creating page layout with css
1 10. Page Layout with CSS Multi-Column Layouts. 2 In this section, we will investigate how CSS-based Web design provides some simple templates that will.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
Using CSS for Page Layout. Types of HTML Elements Block-Level Element –Creates blocks of content e.g. div, h1..h6, p, ul, ol, li, table, form –They start.
XP 1 Designing a Web Site with Frames Using Frames to Display Multiple Web Pages Tutorial 5.
Create a Web Site with Frames
XP Tutorial 5New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Designing a Web Site with Frames Using Frames to Display Multiple Web Pages Tutorial.
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.
 Using Microsoft Expression Web you can: › Create Web pages and Web sites › Set what you site will look like as you design it › Add text, images, multimedia.
WDV 331 Dreamweaver Applications Designing Websites for Mobile Devices Dreamweaver CS6 Chapter 11.
CIT 256 Organizing Large Websites: Divs, DW Templates Dr. Beryl Hoffman.
Tutorial 6 Creating Tables and CSS Layouts. Objectives Session 6.1 – Create a data table to display and organize data – Modify table properties and layout.
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.
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.
ITP 104.  While you can do things like this:  Better to use styles instead:
Page Layout Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 1.
Cascading Style Sheets CSS. CSS Positioning Normal Flow Top -> bottom | left -> right Arranged in the order they appear in the code make room for one.
Cascading Style Sheets CSS. div … Used like a container to group content Gives context to the elements in the grouping Give it a descriptive name with.
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.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
Page Layout with CSS Learning Web Design: Chapter 16.
WEB DESIGN AND PROGRAMMING Advanced CSS Techniques.
 Remember that HTML is just text  Need to point to pictures  Use the img tag  alt: › screen reader › REQUIRED for this class and to validate.
Lesson 05 // Web Design, Layout & Structure 1.Web Design/Designer-Coder Relationship 2.Fixed vs Fluid Website Layouts 3.Screen Resolutions.
Tutorial #6 – Creating Fixed Width Layouts. Tutorial #5 Review – Box Model Every html element is surround by a box Content, Padding, Border, Margin Can.
Interface Programming 1 Week 3. Interface Programming 1 CALENDAR.
CSS BEST PRACTICES.
Web Foundations WEDNESDAY, NOVEMBER 20, 2013 LECTURE 32: DREAMWEAVER SLIDE SHOW AND GOOGLE MAP.
Internet Technology Dr Jing LU Updated Dr Violet Snell / Dr Kalin Penev 1 Internet Technology (week 6)  Recap: Validating HTML  Page Layout.
INTRODUCTORY Tutorial 5 Using CSS for Layout and Printing.
11/12/2015 Box Model Reed Crouch. 11/12/2015  HTML elements can be considered as boxes. In CSS, the term "box model" is used when referring to layout.
Introduction to CSS Layout
Today’s objectives Layouts | floats Measurement units Type properties
Page Layout CHAPTER 5 1 CHARLES WYKE-SMITH: STYLIN’ WITH CSS: A DESIGNER’S GUIDE (3 ND EDITION)
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.
 Pictures  Page backgrounds  Element backgrounds (list items!)  Link displays (arrows)  List markers.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Essential Questions What challenges do mobile devices present to Web designers? What are the basic concepts.
Mimi Opkins.  One of the major benefits of using CSS is that you’re not forced to lay your sites out in tables.  The layout possibilities of CSS give.
Cascading Style Sheets for layout
Introduction to CSS Layout
>> Navigation and Layouts in CSS
SOEN 287 Web programming Tutorial 03- HTML5 & CSS
CSS Layouts: Positioning and Navbars
CSS Layouts: Grouping Elements
Concepts for fluid layout
Cascading Style Sheets for layout
Putting Things Where We Want Them
CSS BEST PRACTICES.
Objectives Create a reset style sheet Explore page layout designs
Laying out a website using CSS and HTML
Fixed Positioning.
HTML – Organizing Page Content
HTML – Organizing Page Content
Floating and Positioning
Layout and Design with Tables and Frames
Concepts for fluid layout
Understanding and Defining Web Page Layout
Various mobile devices
Positioning Boxes Using CSS
Presentation transcript:

Introducing CSS Layout C HAPTER 11

T YPES OF W EB P AGE L AYOUTS  Fixed width  Most control over how your design looks  Can inconvenience some of your visitors Small monitors cause much scrolling Large monitors end up with wasted space  Liquid  Grow or shrink to fit the browser window  Elastic  Combination of the advantages of both designs

F IXED W IDTH  Regardless of the browser window, the content’s width remains the same  Sometimes the design can cling to the left edge or the window or (more common) center in the middle  Usually below 1,000 px wide  Causes the use of scroll bars  Most common width is 960  Most websites are fixed width  Example: NY TimesNY Times

L IQUID  Page gets wider or narrower as your visitor resizes the window  Makes the best use of the browser real estate  More challenging to make the design look good at the various sizes  On a very large monitor, the design looks ridiculously wide and difficult to read  Example: Google MapsGoogle Maps

E LASTIC  A fixed-width design with a twist—type size flexibility  You define the width using em values  An em changes size when the browser’s font size changes  Design’s width ultimately based on the browser’s base font size  It is almost like “zooming in”  Falling out of favor because the newer browser versions replaced the “increase text size” command with a “page zoom” command.  Thus, Ctrl + enlarges everything on the page

DIV TAG  Layout involves putting chunks of content into different regions of the page  DIV tag is the most common element used to do this  Has not inherent formatting properties  It represents a logical grouping of elements or divisions on a page  i.e., logo, banner, navigation bar, other DIV tags,  Use Class or ID names to identify your DIV tags

D ELICATE B ALANCING A CT  Don’t go crazy with DIVs  A common trap is to believe you must wrap everything on a web page in a tag.  Nav bar an unordered list, no, the tag is best as long as it contains the main navigation bar links, just add an ID to the tag  Want to use a pullquote: use the HTML tag. Positioned and floated, it works better than a tag.

T ECHNIQUES FOR CSS L AYOUT