0

Paragraphs are overflow in browser. How can I fix that?

Thats my css: p{ height: 200px Overflow-wrap: break -word Word-break: pre-line Word-wrap: break-word } And it's still the same, doesn't change anything

23rd Apr 2020, 3:09 PM
Christina Sg
3 odpowiedzi
+ 3
Yes you hadn't used semicolons at the end first fix it and share your source code. overflow-x: scroll; overflow-y: hidden; white-space:nowrap; use this
23rd Apr 2020, 3:16 PM
Ayush Kumar
Ayush Kumar - avatar
0
I've used this. It doesn't overflow but I would like to see the paragraph in multiple lines (not just one that i have to scroll it). Thanks tho
23rd Apr 2020, 3:47 PM
Christina Sg
0
Solved it! I used two seperate divs with the paragraphs inside..and the text looked fine
23rd Apr 2020, 5:15 PM
Christina Sg