Assignment "Style sheets"

Learning goals

After the assignment the student should:

Background: The purpose of the assignment is to illustrate the issues concerned with the separation of content and style and to understand what you can do with a style-sheet language such as CSS. To this end the students explore CSS in some detail. The student is not required to learn syntactic details of CSS but should be able to look these up in the appropriate documentation.

The assignment

Hints and Tips

Submission details

Check the Blackboard site of the course for submission details.

Appendix 1: List of typical CSS constructs to be used

This list is just indicative. You don't have to use all these style properties (although we would expect to see you use a significant number). You are of course free to use also other style attributes of the CSS 2.1 specification. For a list of style properties please consult http://www.w3.org/TR/CSS21/propidx.html.

Margins margin-top, margin-bottom, margin-left, margin-right, margin (shorthand notation)
Background background-color, background-image, background-repeat, background (shorthand notation)
Border border-color, border-style, border-spacing, border-width, border (shorthand notation)
Text text-align, text-decoration, text-indent, text-transform
Foreground color color
Fonts font-size (absolute/relative), font-weight, font-style, font-variant, font-family, font (shorthand notation)
Lists list-style-type, list-style-position, list-style-image, list-style (shorthand notation)
Properties for paged media page-break-before, page-break-after, orphans, widows
Other caption-side (in tables), float (e.g. for images), vertical-align
Link pseudo-classes :link :visited :hover, :active, :focus,

Appendix 2: special styles