I have some HTML tags:
<div id="container">
<input type="text" id="a">
<textarea id="b"></textarea>
<div id="c" style="width:200px"></div>
<div id="d" style="width:20%"></div>
</div>
#a
and #b
have no css width attribute. How could I calculate the total width of container
's children elements in pixel?