📜 ⬆️ ⬇️

Bug with the relocation of the line "zzzzz / zzzzzz /" in IE6 / IE7.

Stumbled upon such a feature in IE. Maybe someone will warn against the attack on the rake.

Suppose you want to output the text in a block of fixed width, specified via CSS. For example:
  <div style = "width: 200px"> ... </ div> 


So, if there is a sequence, such as “xxxxxxxxxx / yyyyyyyyyy /” with a width of more than 200px, then IE will not tear it apart by a space.
')
IE-shny parameter “word-wrap: break-word” will save the situation a little, but, firstly, it will not transfer the line by a space, it will simply break in the middle of “yyyyyyy”, and, secondly, not in all cases it works .

Example of bugs: balancer.ru/files/0903/ie-width-bug.html

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


All Articles