I have a problem with my css, which, if I use margin: 0instead of margin-top: 0, for header p, header { margin: 0 0 20px; }will be as good as not there. Is this supposed to be so? when I see what is happening in firebug, it because margin-bottomof headercollapsed next brother section.

html
<header>
<h1>ToDo List</h1>
<p>HTML5 Offline Capable Web Application</p>
</header>
CSS
header { font: 24px/1em Notethis; color: #666; margin: 0 0 20px; }
header h1 { font: 60px/1.4em Hetilica; margin: 0; }
header p { margin-top: 0; }
source
share