Skip to Main Content
Web Design with HTML and CSS Digital Classroom
book

Web Design with HTML and CSS Digital Classroom

by Jeremy Osborn, Jennifer Smith, AGI Creative Team
November 2014
Intermediate to advanced content levelIntermediate to advanced
224 pages
7h
English
Wiley
Content preview from Web Design with HTML and CSS Digital Classroom

Appendix

CSS Properties and Values

This table provides a reference to some of the most commonly used CSS properties in CSS 2.1. In addition to the name of the property, the allowed values have been listed. For a complete list of CSS properties visit http://www.w3.org/TR/CSS21/propidx.html. For a more in-depth discussion on how to add custom values, please review Lesson 4: Fundamentals of HTML, XHTML, and CSS.

Name

Possible Values

Default value

background-attachment

scroll | fixed | inherit

scroll

background-color

<color> | transparent | inherit

transparent

background-image

<uri> | none | inherit

none

background-position

[ [ <percentage> | <length> | left | center | right ] [ <percentage> | <length> | top | center | bottom ] ] | [ [ left | center | right ] || [ top | center | bottom ] ] | inherit

0% 0%

background-repeat

repeat | repeat-x | repeat-y | no-repeat | inherit

repeat

background

[background-color || background-image || background-repeat || background-attachment || background-position] | inherit

see individual properties

border-collapse

collapse | separate | inherit

separate

border-color

[ <color> | transparent ]{1,4} | inherit

see individual properties

border-spacing

<length> <length>? | inherit

0

border-style

<border-style>{1,4} | inherit

see individual properties

border-top border-right border-bottom border-left

[ <border-width> || <border-style> ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day: Includes New HTML5 Coverage, Sixth Edition

Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day: Includes New HTML5 Coverage, Sixth Edition

Laura Lemay, Rafe Colburn
Jump Start Responsive Web Design

Jump Start Responsive Web Design

Craig Sharkie, Andrew Fisher

Publisher Resources

ISBN: 9781118094280Purchase bookOther