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: 10.2.3.4. :first-child
:first-letter pseudo-element: 2.4.2. Pseudo-Element Selectors
first line of paragraph, indenting: 4.1.1.1. Indenting text
:first-line pseudo-element: 2.4.2. Pseudo-Element Selectors
:first pseudo-class: 10.2.3.5. Miscellaneous pseudo-elements and pseudo-classes
fixed positioning: 9.4. Fixed Positioning

WARNING

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: 7.6.1.1. 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: 9.1.3.2. Limiting width and height
negative margins and: 7.6.1.2. Negative margins and floating
8.3.2.1. 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: 8.3.2.1. Negative margins
:focus pseudo-element: 10.2.3.2. :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: 4.1.1.2. Aligning text
hyphenation in: 4.1.1.2. Aligning text
:lang pseudo-class: 10.2.3.3. :lang
form elements
background images, placing in: 6.2.1. Background Images
color, setting: 6.1.1.4. 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

4.1.4.3. 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.