Because I do NOT have a DOCTYPE line on this page, the margin and padding styles work fine.
But if I put in a DOCTYPE line, then the margin and padding values are ignored. Why?

inside inline-css div

First sentence outside the divs.

inside stylesheet-css div

Second sentence outside the divs.