Margin demo with borders, without margins

Here the margins are set to 0 (zero), so the elements' borders actually touch.

Be aware that many elements have margins by default, and you will often want to eliminate or adjust the default margin setting to get the effect you want.