Re: [css-d] default margins

2006-01-10 Thread Matthew Levine
On Jan 10, 2006, at 2:43 PM, Torp wrote: > This works. So by adding the #col2 rule the specifity gets higher? > Almost a hack... I wouldn't quite call it a hack; it's not exploiting any browser problems like the "* html" hack. It's just making use of normal specificity rules from the CSS

Re: [css-d] default margins

2006-01-10 Thread Torp
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 is not at the top but slightly lower. It doesn't have the right margin but still has the margi

Re: [css-d] default margins

2006-01-10 Thread Matthew Levine
On Jan 10, 2006, at 9:39 AM, Torp wrote: > Without css a gets a blank line before and after > 1) even when there is an image > 2) except when the is on top. > But when changing the margins with css, these two behaviours are gone. > Is there a workaround for this? The reason (1) and (2) happen i

[css-d] default margins

2006-01-10 Thread Torp
Without css a gets a blank line before and after 1) even when there is an image 2) except when the is on top. But when changing the margins with css, these two behaviours are gone. Is there a workaround for this? __ css-discuss [