[css-d] div spacing and borders

2007-07-23 Thread H. Bartel
Hi, I have a recurring problem, which I know how to solve, but I don't know why that is.. Having two div's with a margin of 10px in beetween them results in a margin slightly larger than 10px. If the top div has border-top or border-bottom defined the result is a correct 10px margin. I

Re: [css-d] div spacing and borders

2007-07-23 Thread Richard Grevers
On 7/24/07, H. Bartel [EMAIL PROTECTED] wrote: Hi, I have a recurring problem, which I know how to solve, but I don't know why that is.. Having two div's with a margin of 10px in beetween them results in a margin slightly larger than 10px. If the top div has border-top or border-bottom