The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I am having a iframe in an html page, The id is automatically being generated.
How can i change the font-size of the iframe body.
document.getElementsByTagName(‘iframe’), not accessing the iframe .
Are you generating the content in the iframe or is it an external feed?
we are generating the content in the iframe, but need to change the font size when clicked.
Not sure you can do that as the CSS is actually in the **other** page but perhaps you can think of a way round it.
My JS-fu is not great.
Found this though…http://stackoverflow.com/questions/15812946/how-to-applying-css-style-into-an-iframe-content
>Can’t believe you can actually do that o_O
Not cross-domain AFAIK though.