Join Eric Meyer for an in-depth discussion in this video Class selector essentials, part of CSS Web Site Design.
- View Offline
- Exercise Files
As a follow on to the previous video about ID selectors in this video we're going to talk about Class selectors.…You might at first think there are some similarities and in some ways there are.…If we look into the markup here, we can see that we started with the class of first…and then there's a list item with a class of last.…And there are few other classes scattered throughout the document.…The rule with classes is that unlike IDs, you can have as many instances of a given class as you want. So if we scroll down a…little bit, we'll discover that there's a paragraph of the class of first, just like we had a list item with the class of first.…
We can have as many firsts as we want,…anytime something is the what we think of as being first, we can give it that class.…In a sense, classes are used to collect elements into sets,…like all of the things that are first, or…all of the hyperlinks in a document that say, you know, the point to more details about something so on a magazine website…on the front page there might be a headline and a little abstract paragraph or summary paragraph and then the link that says…
Skill Level Intermediate
Layouts with CSS in Dreamweaverwith Joseph Lowery3h 33m Intermediate
Site Navigation with CSS in Dreamweaverwith Joseph Lowery3h 24m Intermediate
2. CSS and XHTML
5. Adding Colors and Backgrounds
6. Setting Typography
7. Using Margins and Borders to Create White Space and Separation
8. Creating Tables
9. Styling for Print
10. Bringing It All Together
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.