How to make a line break in the title attribute in firefox? In the opera, this is the <img title='первая строка\nвторая строка\nи тд.'>
. Displays as follows:
первая строка вторая строка и тд.
But firefox sculpts everything into one line :(
How to make a line break in the title attribute in firefox? In the opera, this is the <img title='первая строка\nвторая строка\nи тд.'>
. Displays as follows:
первая строка вторая строка и тд.
But firefox sculpts everything into one line :(
In title, transfer the line break character = complete absence of cross-browser compatibility. I recommend using Tooltip. If you need more details, look at this site . Here when you hover on the information icon. JS file on the same page, СSS in the same place.
Option 1:<img title='первая строка вторая строка и тд.' />
Option 2:<img title='первая строка
вторая строка
и тд.' />
Source: https://ru.stackoverflow.com/questions/66311/
All Articles