Ok, so I putting a page in an iframe from a completely different site. The content of this page is utilized on a bunch of different sites, so keeping it in one place so changes can be made once to apply to all domains is essential.
I'm trying to get the content of the page within the iframe to match the site I'm putting it on as far as text/link colors, etc.
So, I'm thinking I have to put the iframe in a div id, and in my css file, actually associate the page being pulled, so that way customization I apply in my css will actually affect the contents in the iframe.
So here is what I'm thinking for the actual page on the domain:
Code:
<iframe scrolling="auto" allowtransparency="true" frameborder="0" height="225px" width="720px">
<div id="whatever">
</div>
</iframe>
My problem is how to actually pull the "pathtomycode.html" page in my css file.
I know this is not right, but something like:
Code:
div#whatever {http://pathtomycode}
Am I like way fucking off here? What's the easiest way to do this?
I'm finally trying to get off of just basic html coding and on to stuff that was only outdated 5 years ago instead of 10.
