negativity will depend on the width of the parent element. Thus:
P {margin: -10%;}Figure 7-20 illustrates the consequences of such arule, where the amount by which paragraphs overlap each other andspill beyond the browser window is entirely dependent on the width ofthe window itself -- and the wider the window, the worse thesituation becomes.

centered
This area should be horizontally and vertically centered.
This text stays left aligned
ie mac doesn't like this!
more nice and free css templates
![]()
![]()

The small box B in the lower-left corner of the element A is a childof A, which is in turn a child of a relatively positionedDIV. B was absolutely positioned, as was elementA, using styles like these:
The fictional LINE element actually clarifies thebehavior that results from setting line-height ona block-level element. According to theCSS specification, declaringline-height on a block-level element sets aminimum line-box height for the content of thatblock-level element. Thus, declaring P.spacious{line-height: 24pt;} means thatthe minimum height for each line box is 24 points. Technically, theonly way content will inherit this line height is if it is inherited