WebReference.com - Part 2 from Chapter 11 of Cascading Style Sheets A Beginner's Guide, from Osborne/McGraw-Hill (5/5) | WebReference

WebReference.com - Part 2 from Chapter 11 of Cascading Style Sheets A Beginner's Guide, from Osborne/McGraw-Hill (5/5)

To page 1To page 2To page 3To page 4current page
[previous]

CSS: A Beginner's Guide

Mastery Check

  1. Write a style rule for the "img" selector that will cause other elements to "wrap" down the left side of the image.

  2. Write a style rule for the <div> element that will set its dimensions at 250 pixels by 250 pixels, give it a background color of navy and text color of yellow, and position it with absolute positioning so that the box's upper-left corner is in the center of the page.

  3. Use the float property to write style rules that will position three boxes side by side on the page, beginning at the left side. Use ID selectors to name the boxes "box1," "box2," and "box3."

  4. The browser window is the point of reference for the __________ positioning scheme.

  5. What is relative positioning relative to?


To page 1To page 2To page 3To page 4current page
[previous]

Created: July 22, 2002
Revised: July 22, 2002

URL: https://webreference.com/authoring/style/sheets/beginners/chap11/2/5.html