Tuesday 09th of February 2010 03:18:12 AM

center a FIXED BOX

This BOX has a fixed width.
It is centered and adjusts to the browser window.
The height adjusts to the content.
more nice and free css templates

body {
background-color: #e1ddd9;
font-size: 12px;
color:#564b47;
padding:20px;
margin:0px;
text-align: center;
}
#inhalt {
text-align: left;
vertical-align: middle;
margin: 0px auto;
padding: 0px;
width: 550px;
background-color: #ffffff;
border: 1px dashed #564b47;
}

name="INDEX-1381" />margin-rightIE4 P/P IE5 P/Y NN4 B/B Op3 Y/-

This sets the size of the right marginof an element. Negative values are permitted, but caution isrecommended.

margin-topIE4 P/P IE5 P/Y NN4 P/P Op3 Y/-

This sets the size of the top margin ofan element. Negative values are permitted, but caution isrecommended.

Example

paddingIE4 P/P IE5 P/Y NN4 B/B Op3 B/-

This sets