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
Copyright © 2002 O'Reilly & Associates, Inc. All Rights Reserved.
As we can see from Figure 8-22, the paragraph has simply been pulled upward by its negative top margin, such that it's outside the parent DIV !
With a negative bottom margin, though, it looks as though everything following the paragraph has been pulled upward. Compare the following markup to the situation shown in Figure 8-23:
Wouldn't it be much nicer to just create a sidebar image which is 10 pixels tall and 100 pixels wide, with no wasted blank space, and then repeat it only in the vertical direction? This would certainly make your design job a little easier, and your users' download times a lot shorter. Enter positive values) or left (for negative values) the outer left edge ofthe positioned element is from the left edge of its containing block.Another way to look at it is that positive values cause inwardoffsets, moving the edges toward the center of the containing block,and negative values cause outward offsets.
The description of offsetting the outer edges is based on an erratum.The original CSS2 specification actuallysays that the content edges are offset, but it has been widely agreed variant. As long as no keyword corresponds to a variant that is lighter than the variant assigned to the previous keyword, then everything will be all right.
As it happens, these numbers are defined to be equivalent to certain common variant names, not to mention other values for font-weight. 400 is defined to be equivalent to normal, and 700 corresponds to bold. The other numbers do not match up with any other values for property. They will look something like this:
The first value in each pair is for the Windows version; the secondvalue is for the Macintosh version. (Sorry, Macintosh folks, but weare in the minority.) For instance, IE4 Y/N means that the propertyis supported in IE4 for Windows, but not IE4 for Macintosh. Thepossible support values are:Style declaration is made important,thereby raising its weight in the cascade. Important declarations