nathanelmori
05-17-2010, 07:49 PM
Hi.
I have a div which looks pretty much like this in my CSS:
.myDIVClass {
height: 50%;
overflow-y: scroll;
}
The div displays records from a database.
The problem is that when I have too many records to present, IE lets the div "invade" into regions below its border. As you can see, I've used the "overflow-y" property to make IE create a scrollbar, but to no avail.
Also, when I define "height" in absolute pixels (as opposed to percentages, as in the example), then it works perfectly fine. But as soon as I use percentages, it fails on me and completely ignores the scrolling command.
I have a div which looks pretty much like this in my CSS:
.myDIVClass {
height: 50%;
overflow-y: scroll;
}
The div displays records from a database.
The problem is that when I have too many records to present, IE lets the div "invade" into regions below its border. As you can see, I've used the "overflow-y" property to make IE create a scrollbar, but to no avail.
Also, when I define "height" in absolute pixels (as opposed to percentages, as in the example), then it works perfectly fine. But as soon as I use percentages, it fails on me and completely ignores the scrolling command.