On different mobile devices and various browsers such as Internet Explorer and Mozilla, the font size in some divs does not appear consistent. Specifically, on a Samsung Galaxy S6.
I am using EM units: I know it may not be ideal but I prefer this method and feel comfortable with it.
Is there a CSS workaround or technique (without using javascript) to set different rules based on the browser?
For instance, I intend to individually adjust each div like so:
.divone
{
font-size: 20em;
}
If it's Firefox... .divone { }
If it's Internet Explorer... .divone { }
I also believe that I need to keep the initial declaration of .divone if the browser is neither Firefox nor Internet Explorer.
Does anyone have any suggestions on how to achieve this?
Thank you