[thelist] html attributes for margin width etc

Peter-Paul Koch gassinaumasis at hotmail.com
Thu Oct 17 08:50:01 CDT 2002


>>>body	{margin:-10px 0 0 -10px}
>>>html body {margin:0}
>>
>>Now for Opera: it has the same margin problems, and the -10px hack
>>works, but how do you evade the html body line, which Opera does
>>understand?
>
>I believe that Opera is the exception to the rule, as it uses padding and
>not margin to move the
>body from the browser edge. Thus;
>
>body {margin:-10px 0 0 -10px}
>html body {margin:0;padding:0}
>
>should cover most browsers in current use.

Yup, that's it. Thanks for the info.

ppk

_________________________________________________________________
Unlimited Internet access -- and 2 months free!  Try MSN.
http://resourcecenter.msn.com/access/plans/2monthsfree.asp




More information about the thelist mailing list