in reply to web dev problem

I'll betcha a dollar that the HTML you're generating is non-standard. Check out your HTML-ification code, and view the output as source, rather than rendered, HTML.