From a previous story: getting element width/height https://news.ycombinator.com/item?id=9011767