By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,446 Members | 1,185 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,446 IT Pros & Developers. It's quick & easy.

Problems with the content of an IFRAME

P: n/a
Hi!

I'm having a little trouble with an IFRAME added in an HTML page. IFRAME has
a fixed size and it contains another HTML page, which only has some text
paragraphs and a pair of images aligned left and right (with 'style="float:
{left | right}"'). There's no tables or anything with a fixed size.

Problem is that in browsers like Opera 7, the IFRAME shows perfectly and
just vertical scroll bar is showed (that's what I want). But on Internet
Explorer the horizontal scroll bar is also showed. It's like IE fixes the
size of the HTML page inside the IFRAME and just for a bit of pixels, the
horizontal scroll bar is showed.

I set margins, borders, paddings, spacings, etc. to 0px but that's not
enough. What happens?

Thanks!

@mt!
====
Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Andres Mas Torrecillas wrote:
I'm having a little trouble with an IFRAME added in an HTML page.


url?

--
Brian (remove "invalid" from my address to email me)
http://www.tsmchughs.com/
Jul 20 '05 #2

P: n/a
Brian <us*****@julietremblay.com.invalid> wrote in message
url?

http://www.grupovenedi.com/compania.htm (spanish language)

@mt!
====
Jul 20 '05 #3

P: n/a
On Fri, 30 Apr 2004 01:16:06 +0200, "Andres Mas Torrecillas"
<ch******@eresmas.com> wrote:
I'm having a little trouble with an IFRAME added in an HTML page. IFRAME has
a fixed size and it contains another HTML page, which only has some text
paragraphs and a pair of images aligned left and right (with 'style="float:
{left | right}"'). There's no tables or anything with a fixed size.

Problem is that in browsers like Opera 7, the IFRAME shows perfectly and
just vertical scroll bar is showed (that's what I want). But on Internet
Explorer the horizontal scroll bar is also showed. It's like IE fixes the
size of the HTML page inside the IFRAME and just for a bit of pixels, the
horizontal scroll bar is showed.

I set margins, borders, paddings, spacings, etc. to 0px but that's not
enough. What happens?


IE has numerous bugs, and one (or more) of them is indeed the showing of
superfluous horizontal scroll-bars from time to time. As long as the
content is visible without horizontal scrolling I wouldn't worry about
it.

However I wonder whether your current layout is really appropriate. An
IFRAME may be a good idea when some of the content needs to remain
on-screen while other content scrolls: for example a photograph with a
long description where the reader is likely to want to read the whole
description with the photo on screen. This page however would work
better IMHO as a single block, with no IFRAME at all: you could then get
a flexible layout. And you could print the page sensibly - have you
tried printing it?

I'm not at all keen on "RESOLUCIÓN MÍNIMA RECOMENDADA: 1024x768". There
are still many readers who have 800-pixel width screens, and quite a few
others, such as myself, who prefer not to have to read in full-screen
mode. Aim to produce a page which looks good over a wide range of window
sizes and reasonable over a still wider range.
--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.