I think it is actually the margins that will put a space between the two boxes (especially if you have them styled with borders).
- Padding pushes your words/content farther from the inside edge of your div.
- Margins push anything else on your page farther from the outer edges of your div.
I will attempt to use your ASCII drawings for examples

I am not going to illustrate the top or bottom padding/margins to keep things visually pleasing.
| = a div's border
Mx = margin for div x
Px = padding for div x
M1 | P1 [div1 content] P1 | M1 M2 | P2 [div2 content] P2 | M2
So you could do something like:
- Code: Select all
<div style="border: 3px solid; width: 100px; height: 200px; float:left; margin: 5px;">
<u>Navigation</u>
</br>
</br>
The Clan</br>
<a href="">about</a>
</div>
<div style="border: 3px solid; width: 300px; height: 200px; float: left; margin: 5px;">
</div>
This will put a 5 pixel margin on all sides (top right bottom and left) around the outer edge of each of your divs for a total of 10 pixels of space in between them.
5px | P1 [div1 content] P1 | 5px 5px | P2 [div2 content] P2 | 5px
What do you do if you only want to space out the two inner edges between the two divs but not the rest of the sides? You can specify margins of each side...always in this order:
margin: Top Right Bottom Left.
So...
margin: 0px 5px 0px 0px; on div1
margin: 0px 0px 0px 5px; on div2
0px | P1 [div1 content] P1 | 5px 5px | P2 [div2 content] P2 | 0px
Hope that helps! Also, paddings are formatted in exactly the same way for when you want to want to get creative with those
