Saturday 25th of October 2014 01:48:10 AM

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: Y

There are no index entries for this letter.

it will have slightly more line-height than usual.</P> <P CLASS="two">This paragraph has a 'line-height' of 15pt (10 * 150%), so it will have slightly more line-height than usual.</P> <P CLASS="three">This paragraph has a 'line-height' of 0.33in, so it will have slightly more line-height than usual.</P>
Figure 4-23

Figure 4-23. Simple calculations with the line-height property

However, things get less predictable once the line-height is inherited from one block-level element to another. The computed line-height values are inherited no matter what font-size


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.

in a block-level tag such as a paragraph <P ALIGN="left">, headline, e.g., <H2 ALIGN="center"> or page division <DIV ALIGN="right">.  Each of these should terminate with a corresponding termination tag </P>, </H2> or </DIV> as appropriate. 

The block-level <CENTER> tag is still a commonly-used alternative (includes its own line breaks).  Use <BLOCKQUOTE> for both-margin indents, <UL> with no list items for left-indents (see below). image on your page that links to the full-sized version.  Then your visitors can decide for themselves whether to view or skip the full-sized version.  By default, a linked image has a 2-pixel-wide blue border, but you can use IMG tag's BORDER attribute to eliminate this (BORDER=0). 
  Okay, links!

Links reference other web pages, images, etc. on other servers by URL