Saturday 22nd of November 2008 07:42:37 AM

Nice and Free CSS Templates

line-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 inheritedby an inline element. Most text isn't contained by an inlineelement. Thus, if we pretend that each line is contained by thefictional LINE element, then the model works outvery nicely.
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
they're placed relative to the viewport and don't scroll along with the rest of the document, then the next section is for you.

Before we get there, however, there are a few more things to cover. Remember that absolutely positioned boxes can have backgrounds, margins, borders, and padding; styles can be applied within them, just as with any other element. This can make them very useful for the creation of sidebars, "sticky notes," and other such effects. One example is the ability to not applied to the right and left side of eachline.

Now let's talk about top and bottom padding. In theory, aninline element with a background color and padding could have thebackground extend above and below the element. Figure 7-61 gives us some idea of what that might looklike. The line height isn't changed, of course, but sincepadding does extend the background, it should be visible, right?

Here's where the famous phrase returns: "there may be