1 CSS doc to control different layout for 3 XHTML docs?

I have to develop three webpages, but each one must have a different layout.

Is it possible to produce these just from one CSS doc?

off the top of my head, i’d say you could use descendant selectors. give each <body> a different id, and make all your selectors descendants of a particular body id.

i have to also add though that this seems like a bad idea. i think you’ll have a much easier time doing in with separate stylesheets, plus its just better coding practice.

Technorati Tags: , , , , , , , , , , ,