html validity

Hi, I have fixed one template to produce xhtml valid code. You may merge it if you find it right.
Cheers!