Hi Mat

> The OP was not a "protest", I hope that's clear.

Yes indeed!

> Could you point to what is not possible in this w3school example 
> <https://www.w3schools.com/css/tryit.asp?filename=trycss_grid_layout_named> 
> or some other example? I'm thinking that by means of the usual list-by-tags 
> strategy, one should not need to know all the elements in advance so I hope 
> to understand the problem better. 

That’s a good example of a basic grid layout. The critical part is this:

  grid-template-areas:
    'header header header header header header'
    'menu main main main right right'
    'menu footer footer footer footer footer';

As you can, see it’s a visual map of the layout, dividing the area up into a 
6x3 grid, specifying which element occupies each position in the grid. 
Crucially, the spec detects adjacent areas and merges them together, so the 
result looks like this:



The problem is that in order to add a new menu on the right, I’d have to modify 
the grid-template-areas to redraw the grid with a seventh column. There’s only 
one copy of the grid template, so two plugins both trying to add a menu bar 
would fight for which of them gets to specify the grid template.

It’s because the CSS grid layout system is pretty brutal: it doesn’t flow or 
adapt, it’s just a modernised version of the old trick of using tables for 
layout.

In contrast, CSS flexbox works by specifying constraints for the layout, and 
letting the browser engine resolve those constraints to determine the final 
layout. So we can keep adding menu bars and the layout just adapts fluidly.

Best wishes

Jeremy

>  
> <:-)
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/b6bfff59-f6aa-4146-b153-9e4839737701%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/b6bfff59-f6aa-4146-b153-9e4839737701%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/51C91968-3B9D-4A86-8AC1-73D120FB7848%40gmail.com.

Reply via email to