Previous Message
Next Message

Default tag styles?

Sent by Zoe Gillenwater on 18 June 2004 13:01


Don Hinshaw wrote:

>
>> Different browsers have different default styles for tags.  For 
>> instance, IE and Moz put 8px margin on the body, Opera puts 8px padding.
>>
> Somebody recently posted a sample from the first line of their 
> stylesheet which, as I remember,  essentially zeroed out the padding 
> and margin values for several tags including body, p and a few more. 
> That struck me as a sound approach as it allows you to only have a +/- 
> value where you explicitly add it.
> Anybody else remember that?


Yep, and it definitely can be a good idea.  I usually overwrite the 
margins on body, p, h#, and ul, for example.

Zoe

-- 
Zoe M. Gillenwater
Design Specialist
Highway Safety Research Center
http://www.hsrc.unc.edu


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread: