Can you control an iframe that's hidden in a <div>?

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
simonmlewis
DevNet Master
Posts: 4434
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Can you control an iframe that's hidden in a <div>?

Post by simonmlewis »

Code: Select all

<div id=ROMAN_RDD_EMAILME></div>
This is a DIV that generates a popup when someone clicks on this:

Code: Select all

<script language="JavaScript">document.write(roc_rdd_emailme_$row->romancode);</script>
But the styling of the content ( a form and basic text ) is not right for the web site.
We cannot adjust it as it's remote, and because one site's look may differ from another.

Is there some way that you can control the input style and font style, from outside?
ie. you can do this for an input box inside a div:

Code: Select all

.mydiv input { font-size: 12px; }
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
User avatar
Celauran
Moderator
Posts: 6425
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Can you control an iframe that's hidden in a <div>?

Post by Celauran »

No
simonmlewis
DevNet Master
Posts: 4434
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: Can you control an iframe that's hidden in a <div>?

Post by simonmlewis »

Ta.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
Post Reply