So, after spending all of yesterday working on this I've come to the conclusion that in order to get a consistent and clean outcome, I could possibly do something along the lines of detecting whether or not a div is overflowing, and reduce the text as needed. Only problem is I have no idea how (or if) this is even possible.
In searching I found this...
function containsTooMuch(el) {
var original = el.scrollLeft++;
return el.scrollLeft-- > original;
}
However, I don't understand how that works or how I would implement it. Could anyone give me a hand in figuring out how I can accomplish this? Any help is appreciated, thank you.

New Topic/Question
Reply



MultiQuote





|