Thursday 02nd of July 2015 05:33:11 AM

Nice and Free CSS Templates

element should be will do this: 100px+(-15px)margin+0padding=85px . Thus the top inner edge of the floatedelement should be at pixel position 85; even though this is higherthan the top inner edge of the float's parent element, the mathworks out such that the specification isn't violated. A similarline of reasoning explains how the left inner edge of the floatedelement can be placed to the left of the left inner edge of its
This site contains free css templates for your website - Just copy and paste and there you have a stunning website !

Menu und content

Menu fixed, content

Menu und content

3 columns all

4 columns all

Menu floating

Menu fix, Inhalt u.
Head dynamic

3 columns fix

dynamic mit
Head und Footer

fixed BOX centered

dynamic BOX

fixed Box total
centered Limiting width and height

Should it become necessary ordesirable, you can place limits on an element's width andheight by using the following CSS2 properties, which I'll referto as the min-max properties.


replaced element) of the element to be raised or lowered by theamount declared, with respect to the parent's baseline. Thepercentage you specify is calculated as a percentage of the value forline-height. Positive percentage values cause theelement to be raised, and negative values cause it to be lowered.This can cause elements to be raised or lowered such that they appearto be placed in adjacent lines, as shown in Figure 4-39, so you should take care when using percentagevalues:

B {vertical-align: 100%;}the line height of an element. (In fact, the only properties that can
change the distance between lines containing only text are
line-height, font-size, and

However, all of this is true only for the top and bottom sides of inline elements; the left and right sides are a different story altogether. We'll start by considering the simple case of a small inline element within a single line, as depicted in Figure 7-22.

results. Therefore, it might be a good idea to omit the universal selector in conjunction with class and ID selectors.

BODY > P {color: green;}
<P>This paragraph is green.</P>
<P>This paragraph is not green.</P>