Raoul, Matthew, CJ

Thanks for your replies. I'm sorry about my bad English: I didn't 
mean "on top" but "at the top" - of a div. While making an example 
for you guys I tracked down to the problem.
The <p class="error"> is not at the top but slightly lower. It 
doesn't have the right margin but still has the margin of #col2 p. Is 
this because of the "specifity"?

Thanks again, Jan

#col2
{
margin:0;
padding: 0 0 20px 20px;
vertical-align:top;
}

#col2 p
{
margin: 1em 0;
}

p.error
{
margin: 0 0 1em 0;
}
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to