Thanks for the input. Actually most of the html errors are from the statcounter tracking code (it's a free website statistics service), but as long as the code works, I won't worry about it too much. It's not part of the template anyway. The rest of the errors seem to be from the content, not the template. Apparently pivotx inserts a div where it shouldn't (I'm guessing when you insert an image using the wysiwyg editor at the beginning of an entry/page), that's all I could gather from the error description. If anybody can shed some light on why such an error exists, I'd appreciate it. I'm not really a web developer.