This thread was archived.
Please ask a new question if you need help.
Solved
Archived
Why is the attribute "leftmargin" in the HTML body tag ignored by Firefox?
Check f.i. http://www.vaartips.nl/tipa.htm and see the difference (left margin) between FF and IE. De "leftmargin 20" is ignored (not working) in FF (see code of the page)
Check f.i. http://www.vaartips.nl/tipa.htm and see the difference (left margin) between FF and IE.
De "leftmargin 20" is ignored (not working) in FF (see code of the page)
All Replies (3)
Chosen Solution
hello, <body leftmargin="20"> is not html-compliant souce code.
you could add body { margin-left:20px } in the css-style section instead...
<head>
<style type="text/css">
body { margin-left:20px }
...
</style>
</head>
See also https://developer.mozilla.org/en-US/docs/Mozilla_Quirks_Mode_Behavior
The topmargin, bottommargin, leftmargin, and rightmargin attributes on BODY are supported only in quirks mode (bug 9258).
Problem is solved. Thank you!