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
italic | oblique |
italic | oblique | normal
Copyright © 2002 O'Reilly & Associates, Inc. All Rights Reserved.is:
top: 0; bottom: auto; left: auto; right: 0; width: 33%; height: auto;
Because top is set to 0, and bottom and height are set to auto, the user agent is free to size the element so that it's just tall enough to display its own content, and no taller. This happens thanks to the revised rules for calculating the height and width of absolutely positioned elements, which were published in an errata to the original specification.size, typically 12-point, so that the allowable n values1 through 7 typically reference 8, 10, 12, 14, 18, 24 and 36 points respectively;"name" references a font name (Arial, Times New Roman or whatever);and "color" is an RGB hexadecimal triple or one of the 16 namedcolors.
Then you can change font attributes for special pieces of text in-linewith FONT tags:
<FONT SIZE="n" FACE="name" COLOR="color">... </FONT>
Be careful about specifying fonts in the <BASEFONT> or <FONT> support justify, while IE5 does, and Opera 3.6supports it as well.
For a change of pace, let's talkabout the property white-space, which can greatly margins are not collapsed. If you somehow manage to have two block-level elements next to each other, and each has a margin, the margins will not collapse. The easiest way to illustrate this principle is to set margins on two images and then have them appear on the same line, as they do in Figure 8-6:
<IMG SRC="test1.gif" STYLE="margin: 5px;" ALT="first test"> <IMG SRC="test2.gif" STYLE="margin: 5px;" ALT="second test">
(Note that the images in Figure 8-6 are actually