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.

Figure 7-20

Figure 7-20. The dangers of document-wide negative-margin rules

game download ringtone polyphonic music nokia wav mmf
Tuesday 09th of February 2010 03:18:34 AM

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


css

establishes a containing block for its descendantelements. For example, we could absolutely position an element andthen absolutely position one of its children, as shown in Figure 9-23.

Figure 9-23

Figure 9-23. Nested absolutely positioned elements

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