Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

css3 columns without cutting paragraphs

Tags:

css

Im trying to set a series of in a column layout. Ive been trying with CSS3 but it cuts the elemens in half. Heres an example:

http://jsfiddle.net/zh9zq/

Is it possible to have the columns not cut certain elements in half? Thanks

like image 601
Enrique Moreno Tent Avatar asked Dec 17 '22 02:12

Enrique Moreno Tent


1 Answers

Solution found:

-webkit-column-break-inside:avoid;
-moz-column-break-inside:avoid;
-o-column-break-inside:avoid;
-ms-column-break-inside:avoid;
column-break-inside:avoid;
like image 88
Enrique Moreno Tent Avatar answered Dec 27 '22 06:12

Enrique Moreno Tent