replace span/div with div/div element - xhtml compliant