| Introduction: | Create a Cascading Style Sheet (CSS) for a simple HTML document. The HTML contains simple structural markup and some additional classes which should be used for creating formatting specific to these contents. |
|---|---|
| Resources: | HTML Document CSS Zen Garden WDG HTML Reference w3schools.com CSS Reference |
| Answers: | Directory of Submitted CSS's CSS Slideshow |
| Instructions: |
We have provided a simple HTML document, SampleHTML.html, that is devoid of any explicit styles. Rename this file to Use the CSS file to make the HTML page look well-organized and aesthetically pleasing. You can be as creative as you like with your styles, however, you must use each of the following CSS properties at least once: pseudo-element, padding property, display: none and position: absolute property. Additional style ideas might include: applying a background color, changing the fonts, using bold and/or italics, giving the table a border and colors, rearranging the different sections using absolute positioning, etc. Keep in mind that you should not change the HTML at all except to add a link to your style sheet. Several id and class attributes have already been provided in the HTML document that you can reference from within your CSS file. |
|
please send comments to dret@sims.berkeley.edu
last modification on Saturday, 09-Dec-2006 16:24:15 PST |
|