<IFRAME> ???

Discussion in 'HTML' started by Mel, Dec 13, 2004.

  1. Mel

    Mel Guest

    how can i have 2 iframes side by side, where one's width=200px and the other
    the rest of the width ?


    thanks for your help
    Mel
    Mel, Dec 13, 2004
    #1
    1. Advertising

  2. Mel

    Richard Guest

    Mel wrote:

    > how can i have 2 iframes side by side, where one's width=200px and the
    > other the rest of the width ?



    > thanks for your help
    > Mel


    Two divisions. Use float left in the first.
    Or try using float left in the style for the first iframe.
    Richard, Dec 13, 2004
    #2
    1. Advertising

  3. Mel

    Kris Guest

    In article <41bde49c$>,
    "Mel" <> wrote:

    > how can i have 2 iframes side by side, where one's width=200px and the other
    > the rest of the width ?


    My guess would be:

    <div id="menu">
    <iframe ...>...</iframe>
    </div>

    <div id="content">
    <iframe ...>...</iframe>
    </div>

    #menu {
    width: 200px;
    float: left;
    }

    #content {
    float: right;
    margin-left: 200px;
    }

    #menu iframe, #content iframe {
    width: 100%;
    }

    In this example, you can then also get rid of the iFrames, because they
    suck, and use the overflow property on the separate DIVs to make them
    *look* like iFrames.

    --
    Kris
    <> (nl)
    Kris, Dec 13, 2004
    #3
  4. Kris wrote:
    > In this example, you can then also get rid of the iFrames, because they
    > suck, and use the overflow property on the separate DIVs to make them
    > *look* like iFrames.


    Even better, don't. Visitors will be confused by the extra scrollbars.
    Leif K-Brooks, Dec 13, 2004
    #4
  5. Mel

    Kris Guest

    In article <>,
    Leif K-Brooks <> wrote:

    > Kris wrote:
    > > In this example, you can then also get rid of the iFrames, because they
    > > suck, and use the overflow property on the separate DIVs to make them
    > > *look* like iFrames.

    >
    > Even better, don't. Visitors will be confused by the extra scrollbars.


    True. It should not go unmentioned that in some browsers these 'frames'
    are impossible to scroll using the keyboard or scrollwheel, forcing your
    visitor to point, click and drag scrollbars (something most who have
    spend a few hours on the web have come to hate). Of course this is
    something browser makers should fix, but for the meantime it simply is
    the way it is.

    --
    Kris
    <> (nl)
    Kris, Dec 13, 2004
    #5
  6. Mel

    SpaceGirl Guest

    Kris wrote:
    > In article <>,
    > Leif K-Brooks <> wrote:
    >
    >
    >>Kris wrote:
    >>
    >>>In this example, you can then also get rid of the iFrames, because they
    >>>suck, and use the overflow property on the separate DIVs to make them
    >>>*look* like iFrames.

    >>
    >>Even better, don't. Visitors will be confused by the extra scrollbars.

    >
    >
    > True. It should not go unmentioned that in some browsers these 'frames'
    > are impossible to scroll using the keyboard or scrollwheel, forcing your
    > visitor to point, click and drag scrollbars (something most who have
    > spend a few hours on the web have come to hate). Of course this is
    > something browser makers should fix, but for the meantime it simply is
    > the way it is.
    >


    Which browsers? Opera, Mozilla, FireFox and IE all autofocus mousewheel
    scrolling. Even browsers that DONT probably get forced to on most ppls
    Windows installs as the standard windows mouse driver applies the mouse
    scroll to all 'standard' scrollable panes (or frames in the case of a
    web page).

    --


    x theSpaceGirl (miranda)

    # lead designer @ http://www.dhnewmedia.com #
    # remove NO SPAM to email, or use form on website #
    SpaceGirl, Dec 13, 2004
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    670
  2. mi
    Replies:
    4
    Views:
    13,416
    dorayme
    May 21, 2008
  3. elca
    Replies:
    0
    Views:
    557
  4. Scott
    Replies:
    6
    Views:
    919
    [MSFT]
    Apr 14, 2004
  5. Daedalous
    Replies:
    3
    Views:
    659
    Daedalous
    Jan 16, 2004
Loading...

Share This Page