iframe question

Discussion in 'HTML & Website Design' started by adoh70, Feb 25, 2012.

  1. #1
    Is there a way to adjust the length of the page to fit the length of my iframe?

    The problem is that the iframe will fluctuate in "height" so while a fixed height may solve the problem one day it may leave a large amount of white space, or be too short the next day. I would also like to stay away from solving the problem by enabling auto scrolling if possible.

    I am not sure whether this is an issue with the iframe or rather something that needs to be coded into the html or css of the page.

    http://www.tipsvault.com/tennis-live-scores

    Thanks for your help
     
    adoh70, Feb 25, 2012 IP
  2. brandonsmith

    brandonsmith Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can use css to adjust the width of the BODY tag.
     
    brandonsmith, Feb 28, 2012 IP
  3. adoh70

    adoh70 Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks brandonsmith but I am have been able to adjust the width of the iframe and this is not an issue as this will remain constant, it is the height of the page adjusting to fit the full height of the iframe that is causing the problem.
     
    adoh70, Feb 28, 2012 IP