Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Change fontsize of the iframe body

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #46471
    gowda24
    Participant

    Hi,
    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 .

    #143255
    Paulie_D
    Member

    Are you generating the content in the iframe or is it an external feed?

    #143258
    gowda24
    Participant

    we are generating the content in the iframe, but need to change the font size when clicked.

    #143279
    Paulie_D
    Member

    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.

    #143288
    Paulie_D
    Member
    #143293
    Paulie_D
    Member

    >Can’t believe you can actually do that o_O

    Not cross-domain AFAIK though.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.