Use div to find out text width