0
I need to change the CSS of a iFrame
, but researching here, I discovered that it is not so simple as, soon, I saw that the iFrame
that I wish to stylize, has a <link rel="stylesheet" href="styles/report.css" />
and it is in this file report.css that are the stylizations that I would like to change, it is possible via JS I change this href
and direct to my archive CSS
?
If not, is there any way I can change the CSS of an element that is inside the iFrame
? Changing by inspecting the browser element works, but logically, I would need something fixed. I thought of changing the class of the element with jQuery, but it didn’t work, I thought of overwriting the CSS of the element using CSS and the !important
, but apparently it didn’t work either.