• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Appendix:  : CSS Properties and Values

Appendix. CSS Properties and Values

In this appendix, you'll find a listing of all CSS properties and values. The table was reproduced with permission from W3 Schools, an award-winning and free e-learning site for Web developers (www.w3schools.com). This table can be found on the W3 Schools site where every section has links to examples and detailed explanations of each property.

BACKGROUND
PROPERTYDESCRIPTIONVALUESNNIEW3C
backgroundA shorthand property for setting all background properties in one declarationbackground-color

background-image

background-repeat background-attachment background-position
6.04.0CSS1
background-attachmentSets whether a background image is fixed or scrolls with the rest of the pageScroll fixed6.04.0CSS1
background-colorSets the background color of an elementcolor-rgb

color-hex

color-name

transparent
4.04.0CSS1
background-imageSets an image as the backgroundurl none4.04.0CSS1
background-positionSets the starting position of a background imagetop left

top center

top right

center left

center center

center right

bottom left

bottom center

bottom right

x-% y-%

x-pos y-pos
6.04.0CSS1
background-repeatSets if/how a background image will be repeatedrepeat

repeat-x

repeat-y

no-repeat
4.04.0CSS1
Key to tables:

• NN: Netscape

•IE: Internet Explorer

•W3C: Web Standard

* All values shown in italic indicate a type of value that can be used. For example color-rgb would indicate that you can specify any RGB color. Values shown in regular type are literals and can be used as is. For example, the word “thin” can actually be used as a value in your CSS code.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint