On 12/4/06, Lee Bettridge <[EMAIL PROTECTED]> wrote:
>
> Is there a way find out the height of an element that the browser has
> sized dynamically to accommodate a chunk of text ?
In JavaScript, yes, but to my knowledge, not in CSS.
In JavaScript you can access the dynamic height, width, top, and left
through the element properties clientHeight, clientWidth, clientTop,
and clientLeft. Eg:
var el = document.getElementById("some-id");
alert("Width is " + el.clientWidth);
dcm
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/