Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > <IFRAME> ???

Reply
Thread Tools

<IFRAME> ???

 
 
Mel
Guest
Posts: n/a
 
      12-13-2004
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


 
Reply With Quote
 
 
 
 
Richard
Guest
Posts: n/a
 
      12-13-2004
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.


 
Reply With Quote
 
 
 
 
Kris
Guest
Posts: n/a
 
      12-13-2004
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)
 
Reply With Quote
 
Leif K-Brooks
Guest
Posts: n/a
 
      12-13-2004
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.
 
Reply With Quote
 
Kris
Guest
Posts: n/a
 
      12-13-2004
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)
 
Reply With Quote
 
SpaceGirl
Guest
Posts: n/a
 
      12-13-2004
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 #
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57