This is my code:
<div style="position:absolute;top:300px;width:50px;height:50px;background:red;color:black;word-wrap:break-word;">
<div contenteditable=true>
aaaaa
bbbbbbbbbbb
</div>
</div>
I want to fill all of the space in the div.
How many pixels is the ?
You can create a
<div>containing and assign anid. Set the font size and attributes. Then read the current width and height using: