set height for tip button according to anchor span attributes