Friday 24th of October 2014 04:40:06 PM

Nice and Free CSS Templates

illustrates two different ways of rendering aninset border.

Figure 7-30

Figure 7-30. Two valid ways of rendering inset

So let's assume that you want to define a border style forimages that are inside a hyperlink. You might make them outset, sothey have a "raised button" look, as depicted inFigure 7-31:

A:link IMG {border-style: outset;}
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 7-17

Figure 7-17. Collapsing in detail

This collapsing behavior only applies to margins. Padding and borders, where they exist, are never collapsed by anything.

There's another side to margins: the negative side. That's right, it's possible to set negative values for margins. This will have some interesting effects, assuming that a user agent supports negative margins at all.