[css-d] Block display causes gap, red border makes gap disappear

2007-05-06 Thread Dave M G
CSS-d On the following page there is a registration form: http://formever.org/user/register I set the form input tags to be be display:block so that they would be on their own line. However, this causes a gap to appear below. I'm testing on FireFox, and it looks like this:

Re: [css-d] Block display causes gap, red border makes gap disappear

2007-05-06 Thread Gunlaug Sørtun
Dave M G wrote: I set the form input tags to be be display:block so that they would be on their own line. However, this causes a gap to appear below. I'm testing on FireFox, and it looks like this: http://formever.org/Screenshot2.png What's even more puzzling to me, is that when I

Re: [css-d] Block display causes gap, red border makes gap disappear [SOLVED]

2007-05-06 Thread Dave M G
Gunlaug, Thank you for responding. It's a more nonsensical part of the standards - 'collapsing margins'... http://www.w3.org/TR/CSS21/box.html#collapsing-margins Study the behavior well. It will take me a few more reads before I really grasp it. But in any case, your solution of adding a