Is this possible? [Iframe]

Discussion in 'HTML & Website Design' started by act4, Sep 2, 2011.

  1. #1
    possible.png

    Hi,

    Is it possible to produce the above in HTML. I would like a fixed header where the menu bar for my website will go, then below that an iframe will fill the rest of the browser window. I need to know the code/links to tutorials if possible.

    Thanks
     
    act4, Sep 2, 2011 IP
  2. gmonlinegames

    gmonlinegames Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    this is not the solution but may help you solve it.

    It creates a iframe that is 100%

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="EN">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Full Page IFrame</title>
    <style type="text/css">
    html {overflow: auto;}
    html, body, div, iframe {margin: 0px; padding: 0px; height: 100%; border: none;}
    iframe {display: block; width: 100%; border: none; overflow-y: auto; overflow-x: hidden;}
    </style>
    </head>
    <body>
    <iframe id="tree" name="tree" src="CHILD PAGE URL GOES HERE" frameborder="0" marginheight="0" marginwidth="0" width="100%" height="100%" scrolling="auto"></iframe>
    </body>
    </html>
     
    gmonlinegames, Sep 2, 2011 IP