Opera & page body margin

body { margin: 0px; }

In IE & Firefox there will be no margin for the page.
In Opera there is still the spacing. Why?

Because Opera has in its default styles, just as the
CSS2 specification suggests (see appendix A)

body { margin: 0px; padding: 8px; }

To have no spacing between page body & borders:

body { margin: 0px; padding: 0px; }

Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *