In the layout it is considered an error not to transfer prepositions and words shorter than 3 letters. How can I achieve transfer using css? Or the only and surest way to put br everywhere and hide them on a mobile-resolution?

Example: http://take.ms/kva9F

  • one
    It seems such a thing is word-wrap - The word-wrap property indicates whether or not to transfer long words that do not fit in the specified area. - Brave_Lime
  • word-break - transfers, word-wrap - allows you to transfer a long word. How can prepositions be carried if at the end of a line? - Zentro0000

1 answer 1

I propose to correct the posted text, manually or using a script, since the list of such prepositions is finite. The essence of the adjustments is that you put an inseparable   between the preposition and the word instead of the usual space   . Those. instead of на улице should be на улице .

  • Yes, it does. Probably it is already necessary js-lib to do it automatically. - Zentro0000
  • You can use Typographer, located on the website of Lebedev Studio. - Sasha Omelchenko