Here is the structure of a div:
<div id="showHide">
<div>Alarm</div>
<div>Alarmasdf</div>
<div>Alarmasdffasdff</div>
How can I obtain the width of the largest content, such as "Alarmasdffasdff"? I have managed to get the length of the content but not the width. Any suggestions?