Is there some sort of way within HTML or CSS to limit the characters displayed with a span? I use a repeater that displays these info boxes and I want to limit the character
max-length is used for input elements. Use text-overflow property of CSS.
max-length
input
text-overflow
.claimedRight { display:block; width: 250px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }