Background Properties

Cascading Style Sheet Property Reference

provided by: 
Originally published at Internet.com


HTML style sheets provide you the capability to decorate the background of an element by using color and images. Note that using the properties described in the following sections doesn't define the background for the Web page as a whole. These properties set the background of an element on the Web page. For example, if you define a background for the
    tag, as in the following example, then the background only appears within each occurrence of that tag on the Web page.

    UL {background-image: URL(http://www.myserver.com/images/watermark.gif)}

    You can group the background properties described in the following sections using background. You specify the background color, image, repeat, attachment, and position like this:

    background: white URL(http://www.myserver.com/images/bg.gif) repeat-x fixed top, left

    background-attachment



    The background-attachment property determines whether the background image is fixed in the browser window or scrolls as the user scrolls the window. You can use this property to create a watermark behind your Web page that stays put regardless of which portion of the Web page the user is viewing...

    Read article at Internet.com site
Regional Articles
- Background Properties Alabama
- Background Properties Alaska
- Background Properties Arizona
- Background Properties Arkansas
- Background Properties California
- Background Properties Colorado
- Background Properties Connecticut
- Background Properties DC
- Background Properties Delaware
- Background Properties Florida
- Background Properties Georgia
- Background Properties Hawaii
- Background Properties Idaho
- Background Properties Illinois
- Background Properties Indiana
- Background Properties Iowa
- Background Properties Kansas
- Background Properties Kentucky
- Background Properties Louisiana
- Background Properties Maine
- Background Properties Maryland
- Background Properties Massachusetts
- Background Properties Michigan
- Background Properties Minnesota
- Background Properties Mississippi
- Background Properties Missouri
- Background Properties Montana
- Background Properties Nebraska
- Background Properties Nevada
- Background Properties New Hampshire
- Background Properties New Jersey
- Background Properties New Mexico
- Background Properties New York
- Background Properties North Carolina
- Background Properties North Dakota
- Background Properties Ohio
- Background Properties Oklahoma
- Background Properties Oregon
- Background Properties Pennsylvania
- Background Properties Rhode Island
- Background Properties South Carolina
- Background Properties South Dakota
- Background Properties Tennessee
- Background Properties Texas
- Background Properties Utah
- Background Properties Vermont
- Background Properties Virginia
- Background Properties Washington
- Background Properties West Virginia
- Background Properties Wisconsin
- Background Properties Wyoming

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

Topics:
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML