If you want the overflowing text in the div to automatically newline instead of being hidden or making a scrollbar, use the
word-wrap: break-word
property.
More Related Contents:
- CSS margin terror; Margin adds space outside parent element [duplicate]
- Make background color extend into overflow area
- CSS overflow-x: visible; and overflow-y: hidden; causing scrollbar issue
- Can specific text character change the line height?
- How to display scroll bar onto a html table
- CSS margin adds space outside parent element [duplicate]
- CSS overflow:hidden with floats
- Position absolute and overflow hidden
- IE6 + IE7 CSS problem with overflow: hidden; – position: relative; combo
- Flexbox affects overflow-wrap behavior
- How can I truncate table cells, but fit as much as content possible?
- Can overflow:hidden affect layout?
- Generate scroll bar for overflow to the left
- How do I remove the horizontal scrollbar in a div?
- Flexbox layout with two equal height children, one containing nested flexbox with scrolling content
- change the menu font size
- Can I debug by CSS code in easy way for beginner?
- Landscape printing from HTML
- Is it possible to have two background colors for a single html element? [duplicate]
- Two inline-block, width 50% elements wrap to second line [duplicate]
- Expanding a parent to the height of its children
- How to hide image broken Icon using only CSS/HTML?
- Why does vw include the scrollbar as part of the viewport?
- HTML-Tooltip position relative to mouse pointer
- `margin:auto;` doesn’t work on inline-block elements
- How to calculate required hue-rotate to generate specific colour?
- Flexbox, z-index & position: static: Why isn’t it working?
- How To Add CSS3 Transition With HTML5 details/summary tag reveal?
- Changing image src depending on screen size
- Balanced text wrapping in HTML