2
I’m taking a text from the database:
<p> texto um pouco curto </p>
And displaying using Columns css in 3 parts, but would like to know if it is possible to block the text by only creating another column after the </p>
.
#textocolunas {
font-size: 12pt;
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
-webkit-column-gap: 5px;
-moz-column-gap: 5px;
column-gap: 5px;
-webkit-column-rule: 1px solid #C0C0C0;
-moz-column-rule: 1px solid #C0C0C0;
column-rule: 1px solid #C0C0C0;
}
Follow an edited fiddle of how it is:
Can’t understand your question, friend
– Jefferson Alison
Could you rephrase your question? It’s a little incomprehensible.
– Thiago Verney
Still confused.
– user28595
the texts will be added randomly, it is not the same always in this case would only solve this problem
– Arsom Nolasco
It is automatically setting the height to create the 3 columns you requested. If you give a fixed height to the element, the content only breaks column when exceeding that height.
– bfavaretto
I changed and nothing. keeps overtaking
– Arsom Nolasco