go up the dom tree looking for a width