Sent by Don Hinshaw on 17 June 2004 21:09
> MattH wrote:
>
>> Is there a list somewhere of what styles tags have by default? I'm
>> trying to find out where an margin (or padding is coming from) and it
>> would be easier to check a list like that instead of trying every value.
>
>
>
> 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?
DonH
______________________________________________________________________
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/