<!DOCTYPE html> | |
<!-- | |
| The value "nowrap" of property "white-space" collapses whitespace like | |
| "normal". | |
| https://www.w3.org/TR/css3-text/#white-space-property | |
--> | |
<html> | |
<head> | |
<style> | |
body { | |
margin: 0px; | |
font-family: Roboto; | |
font-size: 20px; | |
} | |
span { | |
white-space: nowrap; | |
} | |
.containing-block { | |
background-color: #03a9f4; | |
width: 200px; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="containing-block"> | |
<span>abc defg | |
hij klm nop | |
qrs tuvw xyz</span> | |
</div> | |
</body> | |
</html> |