How to break word after special character like Hyphens (-)?
­
div {
width: 150px;
}
<div>
12333­2333­233­23339392­332332323
</div>
Source: By Karl Seguin as answer to the question
This code snippet was collected from stackoverflow, and is licensed under CC BY-SA 4.0
Related code-snippets:
- Why did the width collapse in the percentage width child element in Internet Explorer 7?
- Which timezone is most important?
- Multiple submit buttons in HTML form.
- How can I print an HTML document from a web service?
- How do I know which font has been used in Web page?
- How do I make a checkbox toggle from clicking on the text label as well?
- How do you disable browser autocomplete on web form field?
- What are some examples of options for HTML scraping?
- How do I make the browser see CSS and JavaScript changes?
- How do I set the background color of HTML element using CSS properties in JavaScript?
- What is a wrapper for lists in columns?
- Is there a way to change the height of a div in HTML or CSS?
- How do you set up a CSS switcher to run your website in a browser?
- HTML Comments Markup Markup.
- Is there a business reason for striving for pure CSS layout?