chapter 8 designing with cascading style sheets. chapter 8 topics building three different types of...

22
Chapter 8 Designing with Cascading Style Sheets

Post on 21-Dec-2015

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet

Chapter 8

Designing with Cascading Style Sheets

Page 2: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet

Chapter 8 Topics

Building three different types of complete Web pages using CSS: Build a style sheet for online software

documentation Design a promotional Web page using

tables and classes Design a home page for a Web site

using a variety of CSS properties

Page 3: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet

Designing with Cascading Style Sheets

Building a Technical Documentation Style Sheet The documentation pages must

already be marked up with standard HTML elements

The new style rules must apply to the existing documentation with a minimum of changes

No new elements can be added

Page 4: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet
Page 5: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet

Building a Technical Documentation Style

Sheet Elements Modified

<H2> element <H3> element <OL> element <P> containing <A> elements <P> element with CLASS=“note”

Page 6: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet
Page 7: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet

Building a Promotional Layout

Elements to Modify Insert Background Image <H1> element <H2> element <P> elements

Page 8: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet
Page 9: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet
Page 10: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet

Building a Web Site Main Page

Important Aspects of a Main Page First Page Visitors See Attractive Easy to read Quick to load

Page 11: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet

Building a Web Site Main Page

CSS Properties Included “Welcome” Division “Leftimage” Division “Main” Division and Its Child Divisions Background Images “Logo” Division “Features” Division “Navigation” Division

Page 12: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet
Page 13: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet
Page 14: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet
Page 15: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet
Page 16: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet
Page 17: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet
Page 18: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet
Page 19: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet
Page 20: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet
Page 21: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet
Page 22: Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet

Chapter 8 Summary

CSS properties can be used to build a style sheet for online software documentation that can be viewed with any browser and which allows easy update capabilities

CSS properties can be used to build any type of Web page that contain rich stylistic components without resorting to graphics that increase download time

When the CSS properties become widely supported, Web pages will require less code (due to not using table structures for page layout)