I was just wondering how XHTML and CSS works within data-driven websites. I am new to developing database driven sites and need to develop one that uses XHTML and CSS formatting for content as this is what the company I work is aiming towards, due to web accessibility requirements. Does anybody know of any good books/resources that cover developing database driven (php/mysql) websites and implementing XHTML/CSS from within these sites.

Would I be right to say that an area for the database content is created in the page which is written in XHTML? if this is correct does this area link to the CSS?

Any help would be gratefully appreciated....