calculate html pixel with code code example Example: bassed on text length find offset width in javascript <div id="Test"> abcdefghijklmnopqrstuvwxyzA </div>