HTML Fluid Multi Column Layout (newspaper) for text

Is there any CSS method or a good js technique for posting content so you have a newspaper page. Given that a div (or something else) contains a bunch of content to divide this content into N columns that contain some predetermined width.

Let's say with N = 3, assuming my content is sorted. A → Q will display the data as follows:

 A  G  M
 B  H  N
 C  I  O
 D  J  P
 E  K  Q
 F  L  

Any ideas? I would like not to share the data on the server before rendering 3 divs, so I don't really need to figure out how the data will be displayed. However, this is the last resort that can happen.

+5
source share
2 answers

, , , , github Financial Times, : FTColumnflow: https://github.com/ftlabs/ftcolumnflow :

  • ,
  • ,
  • Keep-with-next, .
  • no-wrap,
  • .
  • , .
+5

All Articles