Join Eric Meyer for an in-depth discussion in this video Grouped selection, part of CSS Web Site Design.
- View Offline
- Exercise Files
In the videos so far in this chapter, we've …actually been working with, what are sometimes called simple selectors, at least I thing of them as simple selectors. In each of these cases,…we're making one selection at a time. So, for example, h1. So in this case,…we're saying, any h1 element, make it's text uppercase, like we just did there.…
And that's all fine but we're really only selecting one thing at a time and suppose we wanted to do that for all heading levels,…one through six, so we might do it like this.…If we hit Reload we'll have the desired effect,…but that's really clumsy and just not…very efficient, you might think yourself, man there probably should be a better way to do that and fortunately, there is and it's…called a group selection. So the way this works is all the things you want to select, you can group together using commas just like this.…
Actually, I'm just going to do it like that.…So instead of saying repetitively h1 text-transform uppercase, h2 text-transform uppercase, well, I'll just say…
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.