Dynamic Tool Tip

I want to create a dynamic Tool tip. It should come while doing rollover a square shape, but the background of the tool tip should stretch and squeeze according to the text of tool tip.