<style> span { border:1px solid red; width:100px; display:inline-block; white-space: nowrap } </style> <span style="white-space: nowrap">Long line with no breaks</span> 결과보기
<style>
span {
border:1px solid red;
width:100px;
display:inline-block;
white-space: nowrap
}
</style>
<span style="white-space: nowrap">Long line with no breaks</span>
결과보기
PS. mdn <nobr> 태그 강의