Hello folks,
I need to know how one can get the maximum possible width of a div. Generally, a <div>
's width is limited by it's parent, meaning that it can not be larger than a certain amount. How that certain amount can be calculated?
I need this to calculate if the text inside the current <div>
has overflown, (since the only way to detect a text overflow is to compare it's current width to its current clientWidth).
Thanks!