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

Read CSS: The Definitive Guide, 3rd Edition Online

Authors: Eric A. Meyer

Tags: #COMPUTERS / Web / Page Design

BOOK: CSS: The Definitive Guide, 3rd Edition
8.31Mb size Format: txt, pdf, ePub
H
handheld media type,
Attributes
hanging indents,
Indenting Text
hash mark,
ID Selectors
hash-ID notation,
Deciding Between Class and ID
headers, table,
Speaking table
headers
height property,
Vertical
properties
,
Percentage
heights
,
Percentage
heights
,
Setting width and
height
,
Limiting width and
height
,
Height
,
height
percentage values
for,
Percentage
heights
positioned elements
and,
Setting width and
height
setting to
auto,
Vertical
properties
,
Percentage
heights
tables
and,
Height
help cursor,
Providing
help
hexadecimal color notation,
Hexadecimal RGB colors
hexadecimal
notation,
Hexadecimal RGB colors
horizontal
alignment,
Horizontal Alignment
of text,
Horizontal Alignment
horizontal formatting, of block-level elements,
Block-Level Elements
href attribute, link
tag,
Attributes
HTML,
The Web's Fall from Grace
,
The Web's Fall from Grace
history of,
The Web's Fall from Grace
HTML 4
style sheet sample,
:visited
html
element,
Inheritance
inheritance of background
styles,
Inheritance
hyperlinks,
Link
pseudo-classes
I
icons,
Property Conventions
used in this book,
Property Conventions
ID
selectors,
ID Selectors
,
ID Selectors
,
Deciding Between Class and ID
,
Attribute Selectors
,
Attribute Selectors
,
Dynamic
pseudo-classes
,
Specificity
,
ID and Attribute Selector Specificity
attribute selectors substituting
for,
Attribute Selectors
combining with
pseudo-classes,
Dynamic
pseudo-classes
languages supporting,
Attribute Selectors
specificity of,
Specificity
,
ID and Attribute Selector Specificity
uniqueness of,
Deciding Between Class and ID
images,
Superscripting and
subscripting
,
Multiple
styles
,
Special
effects
,
Floating
,
Inserting attribute
values
as
background,
Special
effects
as generated
content,
Inserting attribute
values
floating using HTML,
Floating
in links, border style
for,
Multiple
styles
in table cell, gaps
around,
Superscripting and
subscripting
img
element, align attribute,
Floating
@import directive,
The @import Directive
inherit keyword,
inherit
inheritance,
Structure and the Cascade
,
Inheritance
,
Inheritance
,
inherit
,
Line height and
inheritance
exceptions to,
Inheritance
inherit
keyword,
inherit
line height
and,
Line height and
inheritance
initial containing block,
Types of positioning
inline
boxes,
Block-level
elements
,
Basic Terms and Concepts
forcing with display
property,
Block-level
elements
inline styles,
Inline Styles
,
Inline Style Specificity
,
Sorting by Specificity
inline-block elements,
Inline-Block Elements
inline-level elements,
Elements
,
Element Display Roles
,
Inline Nonreplaced Elements
,
Adding box
properties
,
Adding box
properties
,
Adding box
properties
,
Altering Element Display
,
Altering Element Display
,
Width and Height
,
Margins and Inline Elements
,
Single-Side Padding
borders
for,
Adding box
properties
history of formatting
of,
Altering Element Display
margins
for,
Adding box
properties
,
Margins and Inline Elements
nonreplaced,
Inline Nonreplaced Elements
,
Width and Height
padding
for,
Adding box
properties
,
Single-Side Padding
spreading lines of text
apart,
Altering Element Display
Internet
Explorer,
Attribute Selectors
,
Real-world issues with
dynamic styling
,
Selecting based on
language
,
Absolute Sizes
,
Interesting
effects
,
Limiting width and
height
,
Row
primacy
assigning table-related display values to HTML
elements not supported,
Row
primacy
attribute selector not
supported,
Attribute Selectors
default font size,
Absolute Sizes
dynamic pseudo-class
support,
Real-world issues with
dynamic styling
first-child
pseudo-class not supported,
Selecting based on
language
fixed-attachment backgrounds on non-body
elements,
Interesting
effects
min-max properties not
supported,
Limiting width and
height
italic text,
Conventions Used in This Book
,
Styles and Variants
as font style,
Styles and Variants
used in this
book,
Conventions Used in This Book
L
landscape
orientation,
Selecting page
types
language,
Selecting based on
language
pseudo-class
for,
Selecting based on
language
leading,
The Height of Lines
left property,
Auto-edges
length units,
Length Units
,
Relative Length Units
relative length units,
Relative Length Units
letters, spacing between,
Letter Spacing
line boxes,
Assigning values to line-height
,
Bottom
feeding
,
Building the boxes
,
Building the boxes
,
Page-breaking
behavior
aligning elements
with,
Bottom
feeding
height of,
Building the boxes
page breaks
and,
Page-breaking
behavior
line-height property,
Vertical
alignment
,
Managing the
line-height
,
Managing the
line-height
,
Managing the
line-height
,
Scaling line heights
,
Adding box
properties
,
line-height
baselines
and,
Managing the
line-height
for block-level
elements,
Managing the
line-height
for inline
replaced elements,
Adding box
properties
for inline-level
elements,
Vertical
alignment
,
Managing the
line-height
scaling
factor for,
Scaling line heights
line-through text,
Text Decoration
linefeeds,
Inserting attribute
values
in generated
content,
Inserting attribute
values
lines of text,
Vertical Alignment
,
The Height of Lines
,
Altering Element Display
,
Borders and Inline Elements
construction
of,
Vertical Alignment
height of,
The Height of Lines
,
Borders and Inline Elements
spread apart by inline-level
elements,
Altering Element Display
link attribute, body
element,
Link
pseudo-classes
links,
Pseudo-Classes and Pseudo-Elements
,
Pseudo-Classes and Pseudo-Elements
,
Link
pseudo-classes
,
Text Decoration
,
Multiple
styles
,
Transparent
borders
borders
visible only when hovered,
Transparent
borders
images in, border style
for,
Multiple
styles
not visited, pseudo-class
for,
Pseudo-Classes and Pseudo-Elements
pseudo-classes
for,
Link
pseudo-classes
suppressing underlining
of,
Text Decoration
visited, pseudo-class
for,
Pseudo-Classes and Pseudo-Elements
list-style-position property,
list-style-position
lists,
Lists and Generated Content
,
Lists
,
List Item Images
,
Generated Content
markers for list items,
Lists
,
List Item Images
,
Generated Content
lowercase
text,
Text Transformation
M
margin area for page
boxes,
Defining the page
size
margin
property,
Margins
,
Length Values and Margins
,
Percentages and Margins
,
Replicating Values
,
Negative and Collapsed Margins
,
margin
length values for,
Length Values and Margins
negative values for,
Negative and Collapsed Margins
percentage values for,
Percentages and Margins
replicating values
in,
Replicating Values
margin-bottom property,
Vertical
properties
,
Collapsing vertical margins
,
Negative
margins
collapsing margins
with,
Collapsing vertical margins
negative values
for,
Negative
margins
setting
to auto,
Vertical
properties
margin-left
property,
Horizontal
properties
,
Negative margins
,
Percentages
,
Single-Side Margin Properties
negative values for,
Negative margins
percentage values for,
Percentages
margin-right property,
Horizontal
properties
,
Horizontal
properties
setting
to auto,
Horizontal
properties
margin-top property,
Negative
margins
negative
values for,
Negative
margins
margins,
Basic Boxes
,
Basic Boxes
,
Horizontal
properties
,
Collapsing vertical margins
,
Adding box
properties
,
Replaced elements and the
baseline
,
Replaced elements and the
baseline
,
Margins
,
Negative and Collapsed Margins
,
Negative
margins
,
Offset
properties
,
Table Formatting
,
Defining the page
size
background of,
Basic Boxes
collapsing,
Collapsing vertical margins
,
Negative and Collapsed Margins
for inline-level
elements,
Adding box
properties
,
Replaced elements and the
baseline
for page
boxes,
Defining the page
size
internal table elements not
including,
Table Formatting
negative values
for,
Replaced elements and the
baseline
of element
boxes,
Horizontal
properties
of floated
elements,
Negative
margins
positioning
and,
Offset
properties
setting all margins,
Margins
markers
for list items,
Lists
,
List Item Images
,
Generated Content
as generated content,
Generated Content
images
as,
List Item Images
markup,
structured,
CSS to the Rescue
max-height property,
Limiting width and
height
max-width
property,
Limiting width and
height
,
max-width
media attribute,
The link Tag
all,
The link Tag
media attribute, link
tag,
Attributes
,
Designating Medium-Specific Style Sheets
medium-specific style sheets,
Non-Screen Media
,
Designating Medium-Specific Style Sheets
specifying,
Designating Medium-Specific Style Sheets
megahertz
(MHz),
Summary
middle
alignment,
In the
middle
min-height property,
Limiting width and
height
min-width
property,
Limiting width and
height
Mondrian
effect,
Negative and Collapsed Margins
monitor,
Attributes
,
Working with absolute
lengths
media type
for,
Attributes
pixel dimensions
of,
Working with absolute
lengths
monospace fonts,
Font Families
Mosaic
browser,
The Web's Fall from Grace
movement
cursors,
Movement
cursors

Other books

Plague Town by Dana Fredsti
El húsar by Arturo Pérez-Reverte
Blood Brothers by Barbara Sheridan, Anne Cain
Paying Guests by Claire Rayner
Fifteen Love by R. M. Corbet
Porno by Irvine Welsh