According to your description, I make a sample use div and class, it show the result like table, here is the sample code, but I am not clear why not use table, I think it is more easy than use div combine with CSS.
I am not sure where you want to use scroll bar, I make a sample about how to use vertical scroll bar in div, you could try to add it through your needs.
<div style="overflow:auto; width:100px;height:100px;">
here is some text<br/><br/><br/><br/><br/><br/><br/><br/>
here is some text
</div>
If this reply can not solve your problem, please le me know.
Best Regards,
Eric Du
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Contributor
6730 Points
2715 Posts
Re: Help in constructing html inside repeater with vertical scroll bar
Dec 28, 2016 08:55 AM|Eric Du|LINK
Hi suvo,
According to your description, I make a sample use div and class, it show the result like table, here is the sample code, but I am not clear why not use table, I think it is more easy than use div combine with CSS.
Result:
I am not sure where you want to use scroll bar, I make a sample about how to use vertical scroll bar in div, you could try to add it through your needs.
If this reply can not solve your problem, please le me know.
Best Regards,
Eric Du
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.