How to handle the issues of cross browser?
DOCTYPE Error : A document type declaration, or DOCTYPE, is an instruction that associates a particular XML or SGML document with a document type definition.
Browser Detection : It’s time to remove the browser detection and instead use modernizer. HTML/CSS Validation : Use html and CSS validation tools for html and CSS according to the requirements. HTML validator (https://validator.w3.org/) CSS vaidator (https://jigsaw.w3.org/css-validator/)
CSS Resets : Default has to be overwritten to achieve similar user experience in different browsers.
Normailze : Normalize css makes browsers render all elements more consistently and in line with modern standards. It precisely targets only the styles that need normalizing. Normalize(https://necolas.github.io/normalize.css/)
Layout Compatibility : This is due to lack to layout support and irresponsive design. To handle this use Flexbox and grid and float.
Vender Specific Function : This is specific to the browser as it contains function that work only for their browser. We need to insure this function works well without prefix as well.
Website Feature Functionality : We can test the website or web app with cross browser tools. Some of them are Browserling, Lamdatest, and others.
Frameworks: Use cross browser friendly libraries or frameworks.As we know that most websites are comprised of various third-party libraries and frameworks.
Use separate stylesheets for different browsers if possible.