6 ms·
Split text between columns... http://jsfiddle.net/BZuu9/ http://jsfiddle.net/BZuu9/
by User1398 13y ago
Split text between columns...
http://jsfiddle.net/BZuu9/ http://jsfiddle.net/BZuu9/
- moron4hire 13y agothanks, that is much appreciated.
- e12e 13y ago[edit: I appreciate the constructive example, should've mentioned that.] Which unfortunately looks like crap, as there is no (standard) way to get browsers to hyphenate words in a sane way :-( [edit: I wish CSS Regions was (or was likely to become) a viable solution, as it actually does what a lot of people want: a sane and standard way to lay out text, based on experiences from dtp. Sadly, afaik, it's unlikely to be accepted, and I'm not sure if there's even a decent way to get it to work with a polyfill (suitable for production): http://dev.w3.org/csswg/css-regions/Overview.src.html http://dev.w3.org/csswg/css-regions/Overview.src.html https://github.com/adobe-webplatform/css-regions-polyfill https://github.com/adobe-webplatform/css-regions-polyfill In theory css-regions along with hyphenator or hypher should be enough to have layouts that are both semantic, look good, and are simple to implement. It's been a while since I tried to get it to actually work, and I don't remember it as "just working" (that would include proper pagination both on small screens and on print outs, without too much effort): http://code.google.com/p/hyphenator/ http://code.google.com/p/hyphenator/ https://github.com/bramstein/hypher https://github.com/bramstein/hypher ]