On Wednesday, June 16, 2021 at 2:24:04 PM UTC+2 Soren Bjornstad wrote:

> Absolute positioning strikes me as likely to confuse TiddlyWiki's layout, 
> but I'm mostly a “guess and check” CSS user so I can't explain why, except 
> that I've tried to do it in the past and it hasn't worked very well. But 
> your situation may be different.


Yea, the initial positioning is done with absolute positioning and margins 
to "push" the DIVs to the right position. ... As TW5 was created, there 
where no possibilities to use CSS calc(). Now every major browser supports 
it <https://caniuse.com/calc> with about 98% browser coverage. 

This makes things easier. 
 

> Also, wouldn't that be applying the same absolute positioning to *every* 
> tiddler 
> in the story river,
>

Centering is done with margin-left and margin-right both set to auto. and a 
max-width to the page container. 
 

> which could include both the details and the entry/chapter?
>

I don't understand this.
 

> You might be able to use data-tags 
> <https://tiddlywiki.com/#Custom%20styles%20by%20data-tags> to apply the 
> special positioning/sizing only to one of the items.
>

data-tags can be used to apply special formats depending an tags. .. That' 
not what we need here. ... We need a very generic way to center the 
story-river.

I'll try to publish a "kitchensink" version soon. So you can play with it. 

-mario

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e8b7114d-fec6-4c80-b0bb-8978dbfc559bn%40googlegroups.com.

Reply via email to