Issue
Hello am having this code with an echo of h3 and p tags from the database am having an issue that the paragraph goes out of the boundary of the nested div
Here is an image of the issue am having while fetching the paragraph and the h3 https://postimg.cc/7Jy0ZJpg
and this is how i want to make it this is just a simple html/css test https://postimg.cc/1VfXPmzp
Solution
The problem is that the output lines do not have spaces, so they do not fit into the container. The CSS word-break: break-all property should fix this. You can check examples in docs:
https://developer.mozilla.org/en-US/docs/Web/CSS/word-break
Answered By - MTpH9
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.