5

Tooltip in the Top Tags section of the user profile shows an information about questions and answers posted by user. Currently it looks like this:

now

My request is to split sentences into different lines. In this case result would be looked like this:

request

6
  • The ordinary tooltip (HTML title attribute) does not support new lines. Some browsers do support, but only as a "bonus", not all browsers have it so it's useless. So to achieve that, SE will have to switch to a custom tooltip, e.g. the one used for impact. (hence this feature is more complicated to do than what it looks like on first sight) Mar 22, 2017 at 11:05
  • @ShadowWizard some tooltips already support multiline. Mar 22, 2017 at 11:11
  • Not for all browsers, e.g. I think Firefox still does not support it. (so you'll see it all in one line there) Mar 22, 2017 at 11:12
  • @ShadowWizard I use FF, and I see multiline in both cases. I got second picture by modifing html source of the user profile page. Mar 22, 2017 at 11:14
  • For wide support, title attribute should contain xml entities like 
 instead of raw \n
    – vp_arth
    Mar 22, 2017 at 14:52
  • @ShadowWizard multiline tooltips also work on candidate block for moderator election. Oct 13, 2017 at 20:13

0

You must log in to answer this question.