Iframe within a div

Discussion in 'HTML & Website Design' started by ticebain, Feb 22, 2008.

  1. #1
    my main page has a div, the only thing inside of that div is an iframe,

    I am making it that way so that my wife can update the content with minimal code so she doesnt get confused with too much code.

    problem is i cant get the div to expand to encompass the full size of the iframe's content (which will obviously change with every post) automatically

    if you know a way to overcome this please help

    I know the obvious way to do it would be through php, but as i am just starting to learn it, i am hoping this can be a temporary workaround

    thanks
     
    ticebain, Feb 22, 2008 IP
  2. mlkshake

    mlkshake Peon

    Messages:
    73
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    did you set the divs height and width to auto
     
    mlkshake, Feb 22, 2008 IP