Thread: CSS question
View Single Post
Old 12-30-2011, 11:33 PM  
NaughtyVisions
Confirmed User
 
NaughtyVisions's Avatar
 
Join Date: May 2008
Location: Pennsylvania
Posts: 4,204
CSS question

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.
__________________
Online strip gaming with sexy gamer girls
Best thing I ever signed up for: Quality Razors, Cheap Price
NaughtyVisions is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote