Find the font used by the browser and adjust the CSS?

A customer complained that on his website, the CSS on his website looks terrible. I checked and found that he used some settings in the browser to change the font Set to a specific font and also have a minimum height.

The problem now is that some css depends on the height and is not working properly now.
Is there any chance I found such a thing and covered css? (Except for using PHP to do and load custom css)

I agree with the above comments. If the user customizes Its local font settings, you should not use onus to make it work. They have covered your design. That being said, this is a way to use JavaScript to detect fonts.

http ://www.lalit.org/lab/javascript-css-font-detect/

A customer complained that on his website, The CSS looks terrible. I checked and found that he used some settings in the browser to set the font to a specific font and also had a minimum height.

The problem now is that some The css depends on the height and it does not work properly now.
Is there any chance I will discover such a thing and overwrite the css? (Except for doing it with PHP and loading custom css)

I agree with the above comments. If users customize their local font settings, they should not use onus to make it Works normally. They have covered your design. That being said, this is a way to detect fonts using JavaScript.

http://www.lalit.org/lab/javascript -css-font-detect/

Leave a Comment

Your email address will not be published.