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/