Chapter 7 Using Advanced Cascading Style Sheets HTML5 & CSS 7 th Edition
Add an embedded style sheet to a Web page Change the body and link styles using an embedded style sheet Create a drop-down menu using an embedded style sheet Change the color and font styles of the drop-down menus Create an external style sheet Chapter 7: Using Advanced Cascading Style Sheets2 Chapter Objectives
Change the paragraph margins and font styles using an external style sheet Create a pop-up using an external style sheet Use classes, pseudoclasses, and divisions for the pop-up effect Use the tag to insert a link to an external style sheet Add an external style sheet for printing Web pages Chapter 7: Using Advanced Cascading Style Sheets3 Chapter Objectives
Plan the Web site Analyze the need Choose the content for the Web page Determine the type of style sheets to use for the pages and their precedence Create the style sheets Chapter 7: Using Advanced Cascading Style Sheets4 Plan Ahead
Chapter 7: Using Advanced Cascading Style Sheets5 Using Style Sheets
Chapter 7: Using Advanced Cascading Style Sheets6 Shorthand Properties
Chapter 7: Using Advanced Cascading Style Sheets7 Measurement Values
Chapter 7: Using Advanced Cascading Style Sheets8 Position Property Values
Chapter 7: Using Advanced Cascading Style Sheets9 Adding an Embedded Style Sheet
It is useful to understand how you can structure your Web page by dividing it into logical sections The CSS box model describes the structure of the elements that are displayed on the Web page The margin specifies the space between the element and other content on the Web page The border is what surrounds the element content The padding is the space between the content of the element and the box border Chapter 7: Using Advanced Cascading Style Sheets10 Structuring the Web page
Chapter 7: Using Advanced Cascading Style Sheets11 Structuring the Web page
Chapter 7: Using Advanced Cascading Style Sheets12 Creating an External Style Sheet
Chapter 7: Using Advanced Cascading Style Sheets13 Linking to an External Style Sheet
Chapter 7: Using Advanced Cascading Style Sheets14 Creating an External Style Sheet for Printing
Chapter 7: Using Advanced Cascading Style Sheets15 Creating an External Style Sheet for Printing
Add an embedded style sheet to a Web page Change the body and link styles using an embedded style sheet Create a drop-down menu using an embedded style sheet Change the color and font styles of the drop-down menus Create an external style sheet Chapter 7: Using Advanced Cascading Style Sheets16 Chapter Summary
Change the paragraph margins and font styles using an external style sheet Create a pop-up using an external style sheet Use classes, pseudoclasses, and divisions for the pop-up effect Use the tag to insert a link to an external style sheet Add an external style sheet for printing Web pages Chapter 7: Using Advanced Cascading Style Sheets17 Chapter Summary
Chapter 7 Complete HTML 7 th Edition