Join Eric Meyer for an in-depth discussion in this video Inheritance essentials, part of CSS Web Site Design.
- View Offline
- Exercise Files
For this video, we're going talk about a core feature of CSS called inheritance which you can see here, is we have an example…file all over the author colors have been removed in the style sheet, we've taken out all the colors.…And so let's just very quickly add an orange color to the body. So if we go back and hit Reload the text changes to orange. The…masthead Javaco tea, of course, that's an image, so it doesn't change and the other images don't become orange but all the…regular text is turned to orange, but what you just did is you set the body element to be orange, you didn't say anything about the…other elements in the document and all the content here is another element. There's no text that's directly a part…of the body. All the text here is actually inside of other elements which are descended from the body and we didn't say …anything about them, we just said that the body should be orange, so,…Why is all this other text orange, I mean other than…because gosh, that's what I would expect to happen.…
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.