jquery - line break after certain number or characters or words -


is there way wrap text (line break) after word or number or letters? use case long logo text.

the following css breaks word in half, not useful me.

word-wrap: break-word; word-break: break-all; 

white-space: nowrap not useful me because need line break @ point.

you either put content in div , put display flex, flex-wrap, wrap whatever content in container.

<div class="container">   <img src"logo">   <p>text</p> </div>  container{ display:flex; flex-wrap:wrap; width:200px } 

Comments

Popular posts from this blog

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -