R
Rick Spiewak
I'm using a DataList inside a Grid Layout Panel (which ends up being a
<DIV>) so that I can use the overflow:scroll property. This is working fine,
except for one anomaly: If there aren't enough items to cause an overflow,
and scrolling, they get spaced evenly inside the <DIV>. So, one item appears
in the middle of the area, two spread out with space on top, between, and
bottom, etc. Finally, after adding enough to fill the area, the spacing and
positioning is as I would prefer to see it.
Is there a way to change this behavior so that the <DIV> simply fills in
from the top?
(Also - possible warning note: My first attempt at this consisted of cutting
& pasting the DataList into the Grid Layout panel. This resulted in
*trashing* the HTML for my page. I was able to recover, but sure wished I
had picked the point just before I did that to check in the source....)
<DIV>) so that I can use the overflow:scroll property. This is working fine,
except for one anomaly: If there aren't enough items to cause an overflow,
and scrolling, they get spaced evenly inside the <DIV>. So, one item appears
in the middle of the area, two spread out with space on top, between, and
bottom, etc. Finally, after adding enough to fill the area, the spacing and
positioning is as I would prefer to see it.
Is there a way to change this behavior so that the <DIV> simply fills in
from the top?
(Also - possible warning note: My first attempt at this consisted of cutting
& pasting the DataList into the Grid Layout panel. This resulted in
*trashing* the HTML for my page. I was able to recover, but sure wished I
had picked the point just before I did that to check in the source....)