Sanitize id's and adjust style.