ID trumps class.

Eliana Berlfein wrote:
> I figured out why mine isn't responding. I set the line-height, the  
> margin and the padding all to 0, and nothing happened. I realized  
> that there is a p tag for the whole page that sets these things. When  
> I remove that, the p shrinks to 0. Shouldn't the table one take  
> precedence over the previous one? The first one is an id and the  
> second one is a class. Does that make a difference?
> Thanks,
> Eliana
> 
> On Oct 3, 2006, at 2:15 PM, Dave Goodchild wrote:
> 
>> Space between paragraphs? Use margin in that case. Padding controls  
>> space
>> inside the element.

-- 
David
[EMAIL PROTECTED]
authenticity, honesty, community
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to