apply cross browser compatibility on input elements.