ASP.NET multi-line prompt in Mozilla Firefox - is this possible?

Is there a way to have a ToolTip for web management (especially for ImageButton) that looks like this in Mozilla Firefox browser:

John Smith Age 24 Male Sex ...

Tried Environment.NewLine, \ n, \ r \ n, @ "(with" "string literal spanning several lines of code). All this works fine in Internet Explorer 7, but in Mozilla all NewLine and \ n are replaced with spaces.

Any workaround for this? And are there any other browsers ignoring NewLine in a similar way?

Note: Mozilla shows the sample text above (“John Smith,” etc.) on the same line as in the prompts I just talked about. So repeat what I want to see in the prompt for Mozilla users:

John Smith

Age 24

Gender: Male

...

( , Mozilla , - , ...)

+3
2
+2

HTML 4.01 6.2, - ( ) , title , CR . , Firefox , . HTML 5 , , Firefox 3.next .

+2

Source: https://habr.com/ru/post/1714545/


All Articles