Wednesday 13th of December 2017 08:03:00 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: F

fictional tags (see pseudo-element selectors)
file size with CSS: 1.2.5. Compact File Size
decreased: 11.1.2. Case 2: Library Catalog System Interface
:first-child pseudo-element: :first-child
:first-letter pseudo-element: 2.4.2. Pseudo-Element Selectors
first line of paragraph, indenting: Indenting text
:first-line pseudo-element: 2.4.2. Pseudo-Element Selectors
:first pseudo-class: Miscellaneous pseudo-elements and pseudo-classes
fixed positioning: 9.4. Fixed Positioning


Note that none of this applies to table elements. CSS2 introduces new properties and behaviors for handling tables and table content, and these new features behave in ways fairly distinct from either block-level or inline formatting. See Section 10.1, "Changes from CSS1" for an overview.

8.4.1. Line Layout

float property: 7.6. Floating and Clearing
floated elements: 7.6. Floating and Clearing
8.3. Floated Elements
applied behavior: 8.3.2. Applied Behavior
background and: Backgrounds and floats
8.3.2. Applied Behavior
clearing: 7.6.2. Clear
collapsing margins and: 7.6.1. Floated Elements
columns and: 11.1.3. Case 3: Putting a Magazine Article Online
images: 7.6. Floating and Clearing
Internet Explorer 4.x and: 11.2.8. Floating Text Elements in Internet Explorer
min-max properties and: Limiting width and height
negative margins and: Negative margins and floating Negative margins
overlapping, preventing: 8.3.1. Floating: The Details
placement, rules governing: 8.3.1. Floating: The Details
taller than parent element: 8.3.2. Applied Behavior
wider than parent element: Negative margins
:focus pseudo-element: :focus
font declaration, forward-slash in: 2.1.3. Declarations
font faces: 5.1. Font Families
font families: 5.1. Font Families
declarations, quotation marks in: 5.1.3. Using Quotation Marks
generic: 5.1. Font Families
combining with actual: 5.1.2. Specifying Actual Font Names
importance of providing: 5.1.2. Specifying Actual Font Names
specifying: 5.1.2. Specifying Actual Font Names
font-family property: 5.1.1. Using Generic Font Families
font matching: 5.6. Font Matching
font names (see font families)
font property: 5.5. Using Shorthand: The font Property
required values: 5.5. Using Shorthand: The font Property
values new with CSS2: 10.3. Fonts and Text
font-size-adjust property: 10.3.1. New Font Properties
font-size property: 5.3. Font Size
font sizes: 5.3. Font Size
absolute: 5.3.1. Absolute Sizes
inheritance and: 5.3.4. Font Size and Inheritance
percentage values: 5.3.3. Percentages and Sizes
relative: 5.3.2. Relative Sizes
setting using length units: 5.3.5. Using Length Units
font-stretch property: 10.3.1. New Font Properties
font-style property: 5.4.1. Fonts with Style
font-variant property: 5.4.2. Font Variations
font-weight property: 5.2. Font Weights
fonts: 5. Fonts
alternate, providing: 5.1.2. Specifying Actual Font Names
5.1.4. Good Practices
families (see font families)
fantasy: 5.1. Font Families
handling in CSS specifications: 1.3.1. Limited Initial Scope
kursiv: 5. Fonts
matching: 5.6. Font Matching
naming issues: 5. Fonts
sizes (see font sizes)
styles: 5.4.1. Fonts with Style
variants: 5.4.2. Font Variations
weights: 5.2. Font Weights
how they work: 5.2.1. How Weights Work
sample, list of: 5.2.1. How Weights Work
footer of a table: 10.7. Tables
foreground colors: 6.1.1. Foreground Colors
importance of declaring background color with: 6.1.4. Good Practices
foreign languages
default text alignment in Arabic/Hebrew: Aligning text
hyphenation in: Aligning text
:lang pseudo-class: :lang
form elements
background images, placing in: 6.2.1. Background Images
color, setting: Affecting form elements
forward slash (/)
font property and: 5.5.1. Adding the Line Height
separating keywords: 2.1.3. Declarations
frequency values: 3.5. CSS2 Units

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.

height so that they're automaticallydetermined. This will let the element be as tall as necessary todisplay its content, no matter how narrow it gets (never less than15em, of course!).

We can turn this around to keep elements from getting too wide ortall by using max-width andmax-height. Let's consider a situationwhere, for some strange reason, we want an element to havethree-quarters the width of its containing block, but to stop gettingto affect short bits of text; block-level tags affect paragraphsor other blocks of text, and typically include automatic line-breaks. You can nest in-line tags within block-level tags and/or other in-linetags, but don't next block-level tags inside in-line tags.  Wheretags let you specify attributes, attribute choices are summarized
 First, note that HTML ignores 
carriage returns           and  double | groove | ridge | inset | outset

There are nine distinct styles for the property border-style defined in CSS1, including the default value of none. They are demonstrated in Figure 7-29.

Figure 7-29

Figure 7-29. Border styles Spacing, alignment, and font size

Both word-spacing and letter-spacing can be influenced by the value of text-align. If an element is set to be justified, then the spaces between letters and words may be altered to permit full justification, which may in turn alter the spacing declared by the author with word-spacing or letter-spacing.