CSS Exercises, Part 3

Here are three final CSS design examples. See if you can duplicate these page designs yourself. Click on an image to view the page. Follow the link to the stylesheet to see how they were done. (Hint: all three use absolute positioning.)

screenshot of first example

First example: coordinating a long line and a narrow block of text. Both elements are DIVs, and both use absolute positioning. See the style sheet here.


screenshot of second example

Second example: juxtaposing two DIVs so that they overlap with a visible offset. Note the leftmost div (the dotted rectangle) contains no text, and serves only as a graphic element. See the style sheet here.


screenshot of second example

Third example: using two overlapping DIVs to create interlocking lines of text. Think of the DIVs as transparent sheets, laid one on top the other, and you'll understand how this one works. See the style sheet here.



University of Baltimore Logo

Last updated: 06/24/08 16:25:41
Copyright © 2008 School of Information Arts and Technologies