For example, such code:
<style> .a { white-space:nowrap; width: 50px; } .b { display: inline; } </style> <div class="a"> <div class="b">Инлайн <div class="c">Блочный</div> </div> <div class="b">Инлайн</div> <div class="b">Инлайн</div> </div>
For example, such code:
<style> .a { white-space:nowrap; width: 50px; } .b { display: inline; } </style> <div class="a"> <div class="b">Инлайн <div class="c">Блочный</div> </div> <div class="b">Инлайн</div> <div class="b">Инлайн</div> </div>
You can apply float: left for block elements;
nowrap is not a ride here
If I understand correctly, do you need all your code highlighted in one line?
.c { display: inline - block; }
But I did not understand exactly where this is needed - the context.
It helped me text-transform: none;
Source: https://ru.stackoverflow.com/questions/115395/
All Articles