Home » Websites » Departmental Sites » Non-WordPress » Before You Start » Style Content with CSS » Course Outline
Course Outline
Offered by Networked Information Services
CSS Basics
- Why use CSS?
- How to use CSS?
- How the “cascade” works
CSS Basics Hands-on Exercises
- Create a secondary stylesheet
- Redefine a style in the secondary stylesheet that exists in the primary stylesheet
Tags and Attributes
- The <div> tag
- The <span> tag
- The “id” attribute
- The “class” attribute
Spacing
- Time to stop using graphics for spacers
- Padding
- Margin
- Layout spacing
- Element spacing
Spacing Hands-on Exercises
- Set spacing of text columns
- Set spacing of a photo
- Set spacing between paragraphs
- Set spacing of list items
- Set spacing of headings
Tables
- Table headers
- Table rows and columns
Tables Hands-on Exercises
- Change <td> tags to <th> tags in existing table
- Create style for table headers
- Create styles for table rows
Photos and Captions
- When and how to use photos and captions
- Nesting <div> tags for the two components
- Creating styles for your photo and caption
Photos and Captions Hands-on Exercises
- Create a <div> for your photo
- Create a <div> for your caption placing it inside the photo’s <div>
- Insert the photo and set the width of the <div>
- Insert the caption text
- Create styles for both <div> tags
Other Styled Elements
Pullquotes
- When and how to use a pullquote
- Creating styles for your pullquote
Pullquotes Hands-on Exercises
- Create a <div> or <span> for your pullquote
- Copy/paste the text inside tag
- Creating styles and apply to your tag
Sidebars
- When and how to use a sidebar
- Creating styles for your sidebar
Sidebars Hands-on Exercises
- Create a <div> or <span> for your sidebar
- Copy/paste the text inside tag
- Creating styles and apply to your tag
Hiding Elements
- Why hide elements?
- How to hide elements
Hiding Elements Hands-on Exercises
- Create a <div> for your header graphic
- Place an <h1> header inside the <div>
- Apply the style to hide the <h1> header text
- Set the background as your header graphic image