Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MSIE6 running in "standard" mode

0 views
Skip to first unread message

Adrian Herscu

unread,
May 9, 2003, 5:12:09 PM5/9/03
to
Hi all,

The following is valid against the w3.org validator service:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-16">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>Test</title>
</head>
<body style="overflow:hidden">
<div>
...A LOT OF TEXT HERE...
</div>
</body>
</html>

MS-IE6 ignores the "overflow:hidden" style property on the body element.
(It does so also when running in quirks mode).

Thanx,
Adrian.

Rowland Shaw

unread,
May 12, 2003, 3:03:08 AM5/12/03
to
"Adrian Herscu" <bmf...@icqmail.com> wrote...

> The following is valid against the w3.org validator service:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
> <html lang="us">
> <head>
> <title>Test</title>
> </head>
> <body style="overflow:hidden">
> <div>
> ...A LOT OF TEXT HERE...
> </div>
> </body>
> </html>
>
> MS-IE6 ignores the "overflow:hidden" style property on the body element.
> (It does so also when running in quirks mode).

It probably isn't the only browser to do so. The overflow property is
meaningless without dimensions - there's no concept of "when it reaches the
bottom" because the bottom is being defined as "after all the content".


Adrian Herscu

unread,
May 12, 2003, 5:28:55 PM5/12/03
to
Rowland Shaw wrote:
> "Adrian Herscu" <bmf...@icqmail.com> wrote...
>
>>The following is valid against the w3.org validator service:
>>
>><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
>>"http://www.w3.org/TR/html4/strict.dtd">
>><html lang="us">
>><head>
>><title>Test</title>
>></head>
>><body style="overflow:hidden">
>><div>
>>...A LOT OF TEXT HERE...
>></div>
>></body>
>></html>
>>
>>MS-IE6 ignores the "overflow:hidden" style property on the body element.
>>(It does so also when running in quirks mode).
>
>
> It probably isn't the only browser to do so.

What other browsers behave the same?

> The overflow property is
> meaningless without dimensions - there's no concept of "when it reaches the
> bottom" because the bottom is being defined as "after all the content".
>
>

MS-IE6 also support the "scroll" attribute on the <body> element.
So, when coding something like <body scroll="no"> it works.
But the "scroll" attribute is non-standard; the standard (as CSS2) is
style="overflow:hidden" and it works in mozilla.org based browsers.

Rowland Shaw

unread,
May 13, 2003, 3:33:36 AM5/13/03
to
"Adrian Herscu" <bmf...@icqmail.com> wrote...

> Rowland Shaw wrote:
> > "Adrian Herscu" <bmf...@icqmail.com> wrote...
> >
> >>The following is valid against the w3.org validator service:
> >>
> >><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
> >>"http://www.w3.org/TR/html4/strict.dtd">
> >><html lang="us">
> >><head>
> >><title>Test</title>
> >></head>
> >><body style="overflow:hidden">
> >><div>
> >>...A LOT OF TEXT HERE...
> >></div>
> >></body>
> >></html>
> >>
> >>MS-IE6 ignores the "overflow:hidden" style property on the body element.
> >>(It does so also when running in quirks mode).
> >
> > It probably isn't the only browser to do so.
>
> What other browsers behave the same?

Opera 7, for a start...

> > The overflow property is
> > meaningless without dimensions - there's no concept of "when it reaches
the
> > bottom" because the bottom is being defined as "after all the content".
>
> MS-IE6 also support the "scroll" attribute on the <body> element.
> So, when coding something like <body scroll="no"> it works.
> But the "scroll" attribute is non-standard; the standard (as CSS2) is
> style="overflow:hidden" and it works in mozilla.org based browsers.

And? To go back to waht I was saying, did you try dimnesioning the body? --
it does work that way.


0 new messages