O'Reilly logo

Speaking in Styles: Fundamentals of CSS by Jason Cranford Teague

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix B. CSS Values

CSS Values

In Chapter 6, we briefly discussed the values that could be used with different CSS properties. In this appendix, we’ll look at values for lengths, fonts, URLs, and colors in more detail.

Lengths

Lengths (width or height) can be set using a variety of units, but there are two basic types of length values:

Lengths

Relative lengths: Length is calculated by the browser relative to another specific value.

Lengths

Absolute lengths: Lengths remain constant ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required