CSS 4 : Divs and spans
Get Set Up
- Copy the CSS 4 folder from the Outbox.
- Paste it into your root folder.
- Rename it "lastname CSS 4", where lastname is your actual last name.
In the CSS 4 folder, you will find the CSS 4 lesson in PDF format
IMPORTANT STEP!
You will be working on your files from the previous lesson. You must be done with CSS 3 first.
- Open your "lastname CSS 3" folder.
- Right-click on the "lounge" folder and select Copy.
- Navigate into your new "lastname CSS 4" folder.
- Right-click into a blank area and select Paste.
Exercises
- Read pages 429-482 of the Lesson.
- Complete all the exercises.
- Check "lounge.css" in W3C's CSS Validator (http://jigsaw.w3.org/css-validator/) .
- Ignore the warnings, but fix any and all errors. Then retest. You're good if you don't see a red error badge across the top of your results.
- There should be styles defined for body, h1, h2, and #guarantee, #elixirs, #elixirs h2, #elixirs h3, #footer, .cd, .artist, a:link, a:visited, #elixirs a:link, #elixirs a:visited, and #elixirs a:hover.
- Your final "lounge.html" page should look like the image below.

Turn in Your Files
- In My Documents, navigate down into your root folder.
- Right-click on your "lastname CSS 4" folder and select Copy.
- Navigate to the Inbox.
- Right-click on the "CSS 4" folder and select Paste.
