XHTML HTML browser quirks fixes