Linux Support
A small area on the internet for Linux Support.
Linux Support
A small area on the internet for Linux Support.
Navigation
Site Breadcrumb - You are here
Mulder's Stylesheets Tutorial
Lesson 4
by Steve Mulder
Page 8
Review of Lesson 4
Stylesheets-enabled Web pages get much more interesting with this kind of control over colors and backgrounds, don't you think? The power we now have over background images is particularly exciting and opens up all sorts of design opportunities.
Here's a quick recap of this lesson's properties:
color sets the foreground color of elements.
background-color sets the solid color that appears behind elements.
background-image is the way to insert GIFs and JPEGs behind text and other elements.
background-repeat lets you control if and how the background image tiles.
background-attachment determines whether a background image scrolls with the page or is fixed.
background-position enables you to precisely position a background image relative to the element it's applied to.
background is the shorthand property for specifying all the background-related properties in one rule.
Our next lesson, Number 5, represents the final installment of our stylesheets tutorial, and it's a beauty. In it, we examine the power CSS gives us to position elements anywhere on a page and even to layer those elements on top of one another.