<IFRAME> ???

M

Mel

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
 
R

Richard

Mel said:
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.
 
K

Kris

Mel said:
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.
 
L

Leif K-Brooks

Kris said:
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.
 
K

Kris

Leif K-Brooks said:
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.
 
S

SpaceGirl

Kris said:
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 #
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top