I have been struggling with xhtml and html issues. I could cry. I made the mistake of listening to people against my better judgement. The xhtml handling in the real world on web sites is a mess. A complete mess. I have reverted to strict html 4.01 with much better results for rendering simple web pages on all browsers. Here is a good read:
It's a can of worms I'm sure.