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; }
Leave a Reply