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; }

Comments (0)

› No comments yet.

Leave a Reply

Allowed Tags - You may use these HTML tags and attributes in your comment.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Pingbacks (0)

› No pingbacks yet.