Nice trick.

Is there a way to add that to all tables without needing to specify 
|scrollable|k on the top?

On Thursday, October 5, 2017 at 3:49:17 PM UTC-4, Eric Shulman wrote:
>
> On Thursday, October 5, 2017 at 12:33:02 PM UTC-7, Ste Wilson wrote:
>>
>> I'm sure this is a solved problem but... 
>> Inspired by Ms McEnzie of London, Italy and her recent trip to a 
>> furniture store I too have decided it is time for some big tables in my 
>> tiddlywiki (got there eventually). 
>> On mobile they spill out over the edge of the tiddler and have to be 
>> viewed with a sideways swipe. Is there anyway short of an iframe of 
>> confining it to the tiddler but having scroll bars in the tiddler? 
>> Is my understanding correct that Fortran I frame is have to host the 
>> content somewhere else? 
>> Cheers all
>
>
> First, create a CSS class with the following styles:
> <style>
> .scrollable { display:block; overflow:auto; }
> </style>
>
> Then, apply it to the table like this:
>
> |scrollable|k
>
> |long|table|that|overflows|the|side|of|the|tiddler|and|need|to|be|scrolled|longerheadingtext|andmoreheadingtext|andstillmoreheadingtext|
>
> |long|table|that|overflows|the|side|of|the|tiddler|and|need|to|be|scrolled|longerheadingtext|andmoreheadingtext|andstillmoreheadingtext|
>
> |long|table|that|overflows|the|side|of|the|tiddler|and|need|to|be|scrolled|longerheadingtext|andmoreheadingtext|andstillmoreheadingtext|
>
> |long|table|that|overflows|the|side|of|the|tiddler|and|need|to|be|scrolled|longerheadingtext|andmoreheadingtext|andstillmoreheadingtext|
>  
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools.com: "Small Tools for Big Ideas" (tm)
> InsideTiddlyWiki: The Missing Manuals
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a02adf26-6f44-4c7f-92e3-bd83efce9f6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to