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

overflow attribute in IE 5.5

0 views
Skip to first unread message

Alex Stankovic

unread,
Jun 13, 2001, 7:45:52 PM6/13/01
to
Hi,

Why doesn't overflow property for DIV element work in IE5.5?
I have a simple CSS class as follows:

.scrollableDiv {

overflow: auto;

}

<DIV CLASS="scrollableDiv">Large large text....</DIV>

Above doesn't work IE5.5. According to MSDN documentation it works from IE4.0 on
32bit windows platforms. I personally tested it with IE5.0 on Win NT 4
Workstation and it worked.

Now i upgraded to Windows 2000 Professional and IE 5.5 and it does not?

Anybody come accross the solution for this one?

Thanks,
Alex

Rowland Shaw

unread,
Jun 14, 2001, 6:56:29 AM6/14/01
to
Wouldn't overflow: auto; do nothing??
[
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/overflo
w.asp ]


"Alex Stankovic" <astan...@programmer.net> wrote...

Aleksandar Stankovic

unread,
Jun 14, 2001, 12:00:27 PM6/14/01
to
overflow: auto; would add scroll bars only if necessary (ie. if the text inside
the div is larger than the space available for the DIV).
That works fine in IE4, IE5 but it doesn't work with IE5.5. And its not just on
my machine but on all machines in our dev. team.

Thanks for your reply,
Alex


-----Original Message-----
Wouldn't overflow: auto; do nothing??
[
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/overflo
w.asp ]


"Alex Stankovic" <astan...@programmer.net> wrote...
Hi,

Why doesn't overflow property for DIV element work in IE5.5?
I have a simple CSS class as follows:

..scrollableDiv {

overflow: auto;

}

<DIV CLASS="scrollableDiv">Large large text....</DIV>

Above doesn't work IE5.5. According to MSDN documentation it works from
IE4.0 on
32bit windows platforms. I personally tested it with IE5.0 on Win NT 4
Workstation and it worked.

Now i upgraded to Windows 2000 Professional and IE 5.5 and it does not?

Anybody come accross the solution for this one?

Thanks,
Alex

.

Jose Jeria

unread,
Jun 16, 2001, 2:40:14 PM6/16/01
to
You have to add a width and height to the DIV so it knows when to start
using scrollbars.
Otherwise it will just stretch the DIV, cause no width or height has been
set.

.scrollableDiv
{
overflow: auto;
width:100px;
height:50px;
}

/Jose Jeria

"Alex Stankovic" <astan...@programmer.net> wrote in message
news:657b01c0f462$fb515e40$a4e62ecf@tkmsftngxa06...

0 new messages