How to wrap up a paragraph? I want to use a tooltip to display something. But if you look at the first cell, some of the contents are out of the tooltip’s boundary.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
http://jsfiddle.net/6MCFR/1/
The problem is you are using
line-heightto center your text. If you get rid of that aspect and allow the tooltip’s height to be organic, no matter how many lines of text there are the tooltip will expand to fit.