Wednesday 13th of December 2017 08:02:47 PM

Book Home

Cascading Style Sheets: The Definitive GuideSearch this book

Symbols | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Index: V

values: 2.1.1. Rule Structure
matching: 10.2.2.2. Value matching
new with CSS2: 10.9. Summary
replication: 7.4.1.1. Multiple styles
tag: 1.4.1.1. LINK attributes
unrecognized: 2.1.3. Declarations
variants, font (see fonts, variants)
vertical-align property: 4.1.3. Vertical Alignment
tables and: 10.7. Tables
vertical alignment: 4.1.3. Vertical Alignment
percentage values and: 4.1.3.6. Percentages
vertical formatting: 8.2.1. Vertical Formatting
VGA colors: 3.1.1. Named Colors
visibility: 9.1.5. Element Visibility
visibility property: 9.1.5. Element Visibility
tables and: 10.7. Tables
visited anchors: 2.4.1. Pseudo-Class Selectors
:visited pseudo-class: 2.4.1. Pseudo-Class Selectors
visual formatting: 8. Visual Formatting
block-level elements: 8.2. Block-Level Elements
element boxes: 8.1. Basic Boxes
floated elements: 8.3. Floated Elements
visual rendering model: 1.3.1. Limited Initial Scope
VLINK attribute: 2.4.1. Pseudo-Class Selectors
voice-family property: 10.8.2. The Spoken Word
voice-related properties: 10.8.2. The Spoken Word
volume property: 10.8.2. The Spoken Word
VSPACE attribute: 8.1. Basic Boxes


Symbols | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z


Library Navigation Links

Copyright © 2002 O'Reilly & Associates, Inc. All Rights Reserved.

7.5.2. Single-Side Padding

You guessed it: there are properties that let you set thepaddingon a single side of the box, without affecting the other sides.

padding-top, padding-right, padding-bottom, padding-left

attribute with a value of driving directions in this way:

Again, this probably seems a bit easier to type. So why go to all the effort of using the longer notation of attribute selectors? The reason to use attribute selectors is that the .class and #ID selectors apply only to HTML documents, or to any other document that uses a language that includes the concepts of class and ID. Other languages, such as those based on XML, might not honor these conventions, in which case LI element, so it doesn't match either.