Saturday 22nd of November 2008 06:43:46 AM

Nice and Free CSS Templates

BODY {background: silver;}
P {background-color: gray; padding: 1px; border: 0.1px solid gray;}

It is necessary to set a border-style for this technique to work. Whether you use that specific property, or simply a value of the border property, doesn't really matter.

Of course, by doing this, you're setting a border on the element, and that border will show up in other user agents as well. And, just to top things off, Navigator doesn't handle padding

This site contains free css templates for your website - Just copy and paste and there you have a stunning website !

Menu und content
dynamic

Menu fixed, content
dynamic

Menu und content
dynamic

3 columns all
dynamic

4 columns all
dynamic

Menu floating

Menu fix, Inhalt u.
Head dynamic

3 columns fix
centered

dynamic mit
Head und Footer

fixed BOX centered

dynamic BOX
centered

fixed Box total
centered

Figure 9-1

Figure 9-1. An example of a containing block

Not every element in CSS generates a containing block for itsdescendant elements. The rules for the establishment of a containingblock are as follows:

  1. The containing block of the "root element" (also calledthe initial containingblock) is established by the user agent. In