Instead of our usual Thursday quiz, today we'll work on independent lab assignments.
The point of this exercise is to expose everyone to the various aspects of CSS listed in the table below. Create a web page on warp explaining how to implement the topic appearing next to your name using CSS. Your page should explain clearly what the effect is and how you accomplish it, and it should give a few examples of your effect in action. Test the effect in both Firefox and Internet Explorer to see if it works in each; put a table at the bottom of the page reporting your results.
Note: Your file should be named lab12.html and it should be located in your labs directory. Put a link to the file on your homepage. I believe that this assignment can be completed during class on Thursday; in case you need more time, however, it is not due until 5 p.m. on Friday, March 9.
If your assigned topic is too easy (some of them are), feel free to also tackle one of the unassigned topics at the bottom of the table.
You'll give a brief demo of your page to the class when we meet again after spring break.
There are two kinds of topic listed below:
If you find your effect on the web, include a link to the page. Don't just copy the CSS, though—make sure you understand how it works and explain it on your page. (If you're not sure why it works, or if you are only speculating, say so on your page!)
Note: occasionally, you're going to come across something that works in IE but doesn't work in Firefox (or vice-versa). Try to find a workaround so that your effect will work in both browsers; if you can't, report that.
If you have a question about your topic, contact me.
For a sample of what I'm looking for, take the link to Jim Nasium's example webpage in the table below. (The other "Example" links—except for the unassigned topics—are links to the pages you will be creating for this assignment.)
| Student | Topic | |
|---|---|---|
| Matt Boole | five examples of the word-spacing property | Example |
| Sam Cho | five examples of the letter-spacing property | Example |
| Christopher Crowell | the :first-letter and :first-line pseudo-classes | Example |
| Todd Davis | four examples of the font-stretch property | Example |
| Ben Freeman | five examples of the line-height property | Example |
| Michael Gately | four uses of the font-variant property | Example |
| Graham Hone | the text-transform property | Example |
| Tom Klassen | using negative margins on heading elements | Example |
| John Lawrence | the anchor pseudo-classes :link and :visited, :active, and :hover | Example |
| Adam Lee | centering a table horizontally on a page (the entire table, not just its contents) | Example |
| Hanna Lee | illustration of all values for the overflow property | Example |
| Chris Lorenc | illustration of all values for the overflow property | Example |
| Lekisha Nicholas | five examples using the text-indent property | Example |
| Brian O'Malley | illustrations of the first 5 values for the list-style-type property on p. 717 | Example |
| Mark Paganelli | illustrations of the last 5 values for the list-style-type property on p. 717 | Example |
| Joe Sparks | the list-style-position and marker-offset properties | Example |
| Marc Trostle | illustration of the dotted, dashed, and solid border styles | Example |
| Grady Vigneau | illustration of the double, groove, and ridge border styles | Example |
| Kevin Yetman | the text-align property | Example |
| Jim Nasium | making single headings appear to be multiple headings | Example |
| Using CSS background images for bullets | Example | |
| Float your boat | Example | |
| Eric Meyer's tabbed navbar | Example | |
| Rollover horizontal list | Example | |
| Vertical Buttons | Example | |
| Pure CSS hover list | Example | |
[ Return to the CPSCI 105-01 homepage ]
Brian J. Rosmaita <contact me>