Objectives
objective en
Targeted audience
To provide the knowledge and skills required to build Cascading Style Sheets (CSS) and attach them to a document or a series of documents, and to master the rules for positioning in order to develop sophisticated Web pages with predictable results.
Content
- The usefulness of style sheets
- The CSS model
- Units of measurement
- The box model
- Methods for specifying style rules
- Typographical rules: margins, padding, indentation, fonts, text decorations and style
- Classes and pseudo-classes
- Hierarchical rules
- Developing a simple style sheet for controlling format
- Rules for various media, including print
- Creating a style sheet for printing
- Resolving conflicts between different style rules
- The div and span tags, and the id attribute, and their use in developing style rules
- Using selectors in CSS style sheets, and the rules for how they apply
- Creating hierarchical menus with nested lists
- Absolute positioning without tables
- Positioning rules: the differences between relative, absolute, fixed and static
- Creating a more complex style sheet for controlling the position of elements