Skip to content Skip to sidebar Skip to footer

How Do You Force Line Breaks Between Words Only In Css/html?

I have just a regular piece of text in a

tag inside a

tag. But only Firefox displays it correctly. Firefox breaks the lines between the words. All other brows

Solution 1:

Somewhere in your css you probably have word-wrap: break-word. Find it and change it to word-wrap: normal (or simply remove the word-wrap element altogether).


Solution 2:

For text to break on his own just add padding on left and right side to the container (div, td etc.) of text.


Post a Comment for "How Do You Force Line Breaks Between Words Only In Css/html?"