Join Eric Meyer for an in-depth discussion in this video Background shorthand, part of CSS Web Site Design.
- View Offline
- Exercise Files
So what we've seen for the last 2 videos is was ways of…placing an image into the background of an element and changing how its positioned, how it's repeated.…All that has left us with, if you look at the CSS, is something,…it's honestly a little reverse and kind of repetitive, it's background color, background image, background repeat, background position.…It would be really nice if this were all expressible in a single property and fortunately it is.…
So we'll join all this stuff up and get rid of the color part and just leave myself with background, RGB 85%, 85%, 85%…URL of the image I want to use, here's the repeat, here's the position and if I save that, and reload,…there's a difference because that's exactly equivalent to what I just had, with all the…individual values listed out one by one and the individual properties listed out one by one. This is background as a shorthand,…it's a shorthand for that other thing that we saw before. Now, the thing about…background as a shorthand is that the order that these things go in,…
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.