posted 11 years ago
If you're including all these in one HTML page then you only have one HTML page, and one HTML body, all the other body tags will be ignored. No browser will care about how your code is divided up on the server, only the HTML page they receive. If you want to have four separate pages with different backgrounds then you need to have four actual pages, in frames or whatever. If you just want to have four sections on your page then use four HTML elements and set the background colour on those. For example: