Style <object> content from container page

62 Views Asked by At

I have a main page, that will load dependant html through so something like that :

<html>
    <head>
      <style>object span {background-color: coral !important;}</style>
    </head>
    <body>
       ...regular page...
       <object type="text/html" data="external-uri.html">
    </body>
</html>

I would like that the main page will be able to enforce style over the dependant object loaded. In the fictional example i would like to set background color.Is there a way to achieve that or are somewhat isolated?

0

There are 0 best solutions below