Friday 23rd of March 2018 12:10:14 AM
This BOX ist centered and adjusts itself to the browser window.
The height ajusts itself to the content.
more nice and free css templates
font-family: Verdana, Arial, Helvetica, SunSans-Regular, Sans-Serif;
margin: 20px 140px 20px 140px;
define in a programmatic way.
vertical-alignIE4 P/P IE5 P/Y NN4 N/N Op3 P/-
Used to set the vertical alignment of
an element's baseline with respect to its line-height. Negative
percentage values are permitted, and will cause the element to be
lowered, not raised.
white-spaceIE4 N/N IE5 N/Y NN4 P/P Op3 N/-
This property defines how whitespace
188.8.131.52. Generating a line box
the steps a user agent has to go through in order to generate a line
box. First, for each inline nonreplaced element (or string of text
outside of an inline element), the font-size is
used to determine the initial content-height.
Thus, if an inline element has a font-size of
15px , then the content-height starts out as
"blank" space around the paragraphs is actually theirmargins. (If the DIV had any padding, there wouldbe even more blank space, but that wasn't the case here.)
In a similar fashion, the overall width of a list item's element box is equal tothe content width of the list element that contains it. As you cansee in Figure 8-8, the margins of a parent elementcan influence the layout of a child element.
Figure 8-8. List items' overall width equals the width of the UL element