Need help with fixing the height of a div using asp.net. Currently, I am hiding overflow content and looking for a solution. Here's my code snippet:
<div id="Content" style="height: 90px !important; overflow: hidden; text-decoration: none;
text-overflow: ellipsis; display: block; white-space: nowrap;">
abcd<br />
efgh<br />
ijkl<br />
mnop<br />
qrst<br />
uvwx<br />
</div>
My goal is to display content up to "ijkl" and then show More...
in the overflow section as shown in this demo:
abcd
efgh
ijkl
more..
However, I'm unable to achieve this output. I prefer utilizing inline CSS. Any assistance would be greatly appreciated.
Best regards,