Folks and especially CSS gurus
I use large wide screens all the time for tiddlywiki. Often as a result long paragraphs are stretched out onto single lines and reading the tiddler is like watching tennis. Left right left right for each sentence. I had the idea to use multiple columns when the space is available.
This stylesheet modifies only the display of body text and if it has more than 600px width displays a new column. Try it on tiddlywiki.com.
Use the zoom to see this effect come and go. Its cool I think.
But I have a few questions below to make it better.
I created the attached stylesheet tiddler
smart-columns stylesheet.json (345 Bytes)
Containing the following;
.tc-tiddler-body {
-webkit-column-width: 600px;
-moz-column-width: 600px;
column-width: 600px;
column-rule: 4px double #ff00ff;
}
div, ol, ul, img, table, { break-inside: avoid; }
I raise this because I am sure people asked about this in the past but if you open the tiddler “About” which is very short it is still breaking the columns.
- How could I stop this occurring until a tiddler is big enough, such that we are forced to scroll to see the rest, and only then use more columns?
- See the css
div, ol, ul, img, table, { break-inside: avoid; }
would this have any unwanted effects? - Should other html elements also have the
break-inside: avoid;
set for them? - Should this setting 600px be a different value and what are the practical values? Try 400px as an example.
[Edited]
It makes sense for this solution that increases density of content on wide screens (using columns) to also allow the opposite - scale up the content size to make use of the extra wide screen ie reduced density as well.
Finally any thoughts?