I know nobr tag is out of date, then how can I do this with another tag or css?
use the following css property: white-space:nowrap;
white-space:nowrap;
Try using non-breaking spaces to prevent text breaks:
You can also define violation behavior in CSS:
.nobr { white-space: nowrap; }
div - , ... , , ,<a href="http://a/long/address/">Link</a>
<a href="http://a/long/address/">Link</a>
: ( Chrome, Safari, Firefox)
a { word-break:break-all; }
CSS html
display: block; overflow: hidden; text-overflow: ellipsis; width: 200px;
Source: https://habr.com/ru/post/1721885/More articles:How can I split a shared list (from T) based on the property of a list member? - genericsBuilding effective search capabilities using SQL Server (and / or coldfusion) - coldfusionИсключить атрибуты entity bean из запроса на спящий режим? - javaReading blocks from ext3 file system? - linuxHow to verify that a session object contains a specific key / value record - javaFind rows of elements in an array efficiently? - performanceкак вызвать функцию actionscript из javascript - javascriptVBA ontime cancels schedule - excel-vbaFinding out how a developer processes abandoned field projects - brownfieldРекомендуемые рамки Java для Google App Engine? - javaAll Articles