frame inside in total middle of document

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • PHP2

    frame inside in total middle of document

    how I can create frame inside in total middle of document with?

    I have one htnl and I need html page totaly in middle..


  • Martin Honnen

    #2
    Re: frame inside in total middle of document



    PHP2 wrote:
    [color=blue]
    > how I can create frame inside in total middle of document with?[/color]

    HTML 4.01 knows so called inline frames e.g.
    <iframe name="iframeNam e"
    src="whatever.h tml"
    width="100%" height="200">
    <a href="whatever. html">whatever</a>
    </iframe>

    If you want to create one with script try
    var iframe;
    if (document.creat eElement && (iframe =
    document.create Element('iframe '))) {
    iframe.src = 'whatever.html' ;
    iframe.width = '100%';
    iframe.height = '200';
    iframe.name = 'iframeName';
    document.body.a ppendChild(ifra me);
    }


    --

    Martin Honnen

    Comment

    • PHP2

      #3
      Re: frame inside in total middle of document


      "Martin Honnen" <mahotrash@yaho o.de> wrote in message
      news:41f68e76$0 $823$9b4e6d93@n ewsread2.arcor-online.net...[color=blue]
      >
      >
      > PHP2 wrote:
      >[color=green]
      > > how I can create frame inside in total middle of document with?[/color]
      >
      > HTML 4.01 knows so called inline frames e.g.
      > <iframe name="iframeNam e"
      > src="whatever.h tml"
      > width="100%" height="200">
      > <a href="whatever. html">whatever</a>
      > </iframe>[/color]
      RE: I am try HTML option like below:


      <iframe name="iframeNam e"
      src="whatever.h tml"
      width="100%" height="*" border="0">
      <a href="whatever. html">whatever</a>
      </iframe>


      - But it not work.. I wish border 0, that frame page be same 'flat' like in
      main page... not 1mm inside main page..

      - I am add height * what must mean 100%, but it not work and 100% don't
      work.. is possible that height be 100%?


      Comment

      • Martin Honnen

        #4
        Re: frame inside in total middle of document



        PHP2 wrote:

        [color=blue]
        > RE: I am try HTML option like below:
        >
        >
        > <iframe name="iframeNam e"
        > src="whatever.h tml"
        > width="100%" height="*" border="0">
        > <a href="whatever. html">whatever</a>
        > </iframe>
        >
        >
        > - But it not work.. I wish border 0, that frame page be same 'flat' like in
        > main page... not 1mm inside main page..[/color]

        Read the HTML 4.01 specification first, see
        <http://www.w3.org/TR/html4/present/frames.html#h-16.5>
        then if you have further questions on iframes try a group about HTML
        authoring.

        --

        Martin Honnen

        Comment

        • PHP2

          #5
          Re: frame inside in total middle of document

          it seems that html is not resolve my case:

          you can see it in realiy:

          this is my URL: http://f5web.com/frametest/indexF2.html

          see: my web site inside frame is 'inside' 1mm

          i.e. check this: http://www.hrt.hr/teletext/index.htm

          inside frame is 'flat' with other frames


          can javascript better? that frami inside be same like other frames..


          Comment

          Working...