Fix style for DOM.