How to change the font family in an iframe?

by giovanny.lueilwitz , in category: Javascript , 11 days ago

How to change the font family in an iframe?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by mac , 10 days ago

@giovanny.lueilwitz 

To change the font family in an iframe, you can add a CSS code inside the iframe tag. Here is an example:

1
<iframe src="yourURL" style="font-family: Arial, sans-serif;"></iframe>


In this example, the font family of the text inside the iframe will be changed to Arial. You can replace "Arial" with any other font family that you want to use.