CSS: The Definitive Guide, 3rd Edition (81 page)

Read CSS: The Definitive Guide, 3rd Edition Online

Authors: Eric A. Meyer

Tags: #COMPUTERS / Web / Page Design

T
table columns,
Table arrangement
rules
table element,
Visually Arranging a Table
internal table
elements,
Visually Arranging a Table
table-layout property,
Table Sizing
tables,
Table Layout
,
Table Formatting
,
Table Display Values
,
Table Display Values
,
Row
primacy
,
Width
,
Fixed layout
,
Automatic layout
,
Height
,
Speaking table
headers
,
border-collapse
arrangement rules for,
Table Formatting
automatic layout
for,
Automatic layout
block-level,
Table Display Values
fixed-layout model
for,
Fixed layout
headers for,
spoken,
Speaking table
headers
height of,
Height
inline-level,
Table Display Values
row primacy model
for,
Row
primacy
width of,
Width
teletype printers, media type
for,
Attributes
television,
media type for,
Attributes
text,
Text Properties
,
Indentation and Horizontal Alignment
,
The Height of Lines
,
Text Decoration
,
Text Decoration
,
Text Decoration
,
Text Decoration
,
Weird Decorations
,
Weird Decorations
,
Text Shadows
,
Handling Whitespace
,
Handling Whitespace
blinking,
Text Decoration
color
of,
Weird Decorations
drop shadows for,
Text Shadows
indenting,
Indentation and Horizontal Alignment
leading,
The Height of Lines
overlining,
Text Decoration
strikethru,
Text Decoration
underlining,
Text Decoration
,
Weird Decorations
whitespace between words and
lines,
Handling Whitespace
wrapping,
Handling Whitespace
text-align
property,
Horizontal Alignment
,
More than one
auto
compared to margin-left and
margin-right,
More than one
auto
text-bottom
alignment,
Bottom
feeding
text-decoration property,
Text Decoration
text-indent property,
Indentation and Horizontal Alignment
text-transform property,
Text Transformation
~ (tilde) in attribute selectors,
Selection Based on Partial Attribute Values
tiling of background
images,
Special
effects
,
Using an
image
time
values,
inherit
title attribute,
Alternate style
sheets
link
tag,
Alternate style
sheets
top alignment,
Bottom
feeding
transparent
borders,
Transparent
borders
tty media type,
Attributes
tv media
type,
Attributes
type
attribute, link tag,
Attributes
typographical conventions used in this book,
Conventions Used in This Book
U
underlined text,
Text Decoration
Uniform Resource Identifier,
CSS2 Units
units and
values,
Numbers
units for
aural styles,
inherit
universal selector,
The universal
selector
,
Inheritance
,
Universal Selector
specificity of,
Inheritance
URI
(Uniform Resource Identifier), specifying,
Summary
URL
(Uniform Resource
Locator),
URLs
specifying,
URLs
user
agents,
Elements
,
The Cascade
,
CSS2 Units
,
Aural Styles
as origin of declarations,
The Cascade
Emacspeak,
CSS2 Units
Fonix SpeakThis,
Aural Styles
user
interface,
System Fonts and Colors
,
Cursors
cursors,
Cursors
fonts for,
System Fonts and Colors
user
interface styles,
System Fonts and Colors
V
value of
property,
Color
,
URLs
colors as,
Color
URLs as,
URLs
values
and units,
Numbers
vertical
alignment,
Line height and
inheritance
,
Vertical
alignment
of inline
nonreplaced elements,
Vertical
alignment
of text,
Line height and
inheritance
| (vertical bar),
Property Conventions
,
A Particular Attribute Selection Type
in attribute
selector,
A Particular Attribute Selection Type
in property
syntax,
Property Conventions
vertical bar (|),
Property Conventions
in property
syntax,
Property Conventions
|| (vertical double bar) in property
syntax,
Property Conventions
vertical double bar (||) in property syntax,
Property Conventions
vertical-align
property,
Vertical
alignment
visibility of elements,
visibility
visual
styles,
Dropped from CSS2.1
vlink attribute, body
element,
Link
pseudo-classes
W
W3C,
CSS to the Rescue
waiting
cursor,
Providing
help
watch cursor,
Providing
help
web sites,
How to Contact Us
,
How to Contact Us
for this
book,
How to Contact Us
O'Reilly Media,
Inc.,
How to Contact Us
Web,
history of,
The Web's Fall from Grace
web-safe colors,
Web-safe colors
widows property,
Orphans and
widows
,
Page-breaking
behavior
width
property,
Block-Level Elements
,
Horizontal
properties
,
Negative margins
,
Replaced elements
,
Setting width and
height
,
Limiting width and
height
affect of negative margins
on,
Negative margins
positioned
elements and,
Setting width and
height
replaced elements
and,
Replaced elements
setting to
auto,
Horizontal
properties
wildcard,
The universal
selector
Window
system color,
Cursors
WindowFrame system color,
Cursors
WindowText system color,
Cursors
word-spacing property,
Word Spacing and Letter Spacing
words,
spacing between,
Word Spacing and Letter Spacing
World Wide Web,
The Web's Fall from Grace
World
Wide Web Consortium (W3C), HTML elements deprecated by,
CSS to the Rescue
About the Author

Eric A. Meyer has been working with the Web since late 1993 and is an internationally recognized expert on the subjects of HTML, CSS, and web standards. A widely read author, he is also the founder of Complex Spiral Consulting (www.complexspiral.com), which counts among its clients America Online; Apple Computer, Inc.; Wells Fargo Bank; and Macromedia, which described Eric as "a critical partner in our efforts to transform Macromedia Dreamweaver MX 2004 into a revolutionary tool for CSS-based design."

Beginning in early 1994, Eric was the visual designer and campus web coordinator for the Case Western Reserve University web site, where he also authored a widely acclaimed series of three HTML tutorials and was Project Coordinator for the online version of the Encyclopedia of Cleveland History and the Dictionary of Cleveland Biography, the first encyclopedia of urban history published fully and freely on the Web.

Author of Eric Meyer on CSS and More Eric Meyer on CSS (New Riders), Cascading Style Sheets: The Definitive Guide (O'Reilly), and CSS2.0 Programmer's Reference (Osborne/McGraw-Hill), as well as numerous articles for the O'Reilly Network, Web Techniques, and Web Review, Eric also created the CSS Browser Compatibility Charts and coordinated the authoring and creation of the W3C's official CSS Test Suite. He has lectured to a wide variety of organizations, including Los Alamos National Laboratory, the New York Public Library, Cornell University, and the University of Northern Iowa. Eric has also delivered addresses and technical presentations at numerous conferences, among them An Event Apart (which he cofounded), the IW3C2 WWW series, Web Design World, CMP, SXSW, the User Interface conference series, and The Other Dreamweaver Conference.

In his personal time, Eric acts as List Chaperone of the highly active css-discuss mailing list (www.css-discuss.org), which he cofounded with John Allsopp of Western Civilisation and which is now supported by evolt.org. Eric lives in Cleveland, Ohio, which is a much nicer city than you've been led to believe. For nine years, he was the host of "Your Father's Oldsmobile," a Big Band-era radio show heard weekly on WRUW 91.1 FM in Cleveland.

You can find more detailed information on Eric's personal web page at
http://www.meyerweb.com/eric
.

Colophon

Our look is the result of reader comments, our own experimentation, and feedback from
distribution channels. Distinctive covers complement our distinctive approach to technical
topics, breathing personality and life into potentially dry subjects.

The animals on the cover of
CSS: The Definitive Guide
, Third
Edition, are salmon (
salmonidae
), which is a family of fish consisting
of many different species. Two of the most common salmon are the Pacific salmon and the
Atlantic salmon.

Pacific salmon live in the northern Pacific Ocean off the coasts of North America and
Asia. There are five subspecies of Pacific salmon, with an average weight of 10 to 30
pounds. Pacific salmon are born in the fall in freshwater stream gravel beds, where they
incubate through the winter and emerge as inch-long fish. They live for a year or two in
streams or lakes and then head downstream to the ocean. There they live for a few years,
before heading back upstream to their exact place of birth to spawn and then die.

Atlantic salmon live in the northern Atlantic Ocean off the coasts of North America and
Europe. There are many subspecies of Atlantic salmon, including the trout and the char.
Their average weight is 10 to 20 pounds. The Atlantic salmon family has a life cycle
similar to that of its Pacific cousins, and also travels from freshwater gravel beds to the
sea. A major difference between the two, however, is that the Atlantic salmon does not die
after spawning; it can return to the ocean and then return to the stream to spawn again,
usually two or three times.

Salmon, in general, are graceful, silver-colored fish with spots on their backs and
fins. Their diet consists of plankton, insect larvae, shrimp, and smaller fish. Their
unusually keen sense of smell is thought to help them navigate from the ocean back to the
exact spot of their birth, upstream past many obstacles. Some species of salmon remain
landlocked, living their entire lives in freshwater.

Salmon are an important part of the ecosystem, as their decaying bodies provide
fertilizer for streambeds. Their numbers have been dwindling over the years, however.
Factors in the declining salmon population include habitat destruction, fishing, dams that
block spawning paths, acid rain, droughts, floods, and pollution.

The cover image is a 19th-century engraving from the Dover Pictorial Archive. The cover
font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe
Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed.

Other books

Venus Rising by Speer, Flora
Let Them Have Cake by Pratt, Kathy
Blair’s Nightmare by Zilpha Keatley Snyder
Mayhem in Bath by Sandra Heath
Texas…Now and Forever by Merline Lovelace
Death & the City Book Two by Lisa Scullard
The Lady Elizabeth by Alison Weir
Shades of Midnight by Linda Winstead Jones