On Wednesday, January 17, 2018 at 11:14:23 AM UTC+1, @TiddlyTweeter wrote: > > FWIW, I find this subject interesting. Why? Because it illustrates > something about the "Sociology of Programming". >
That's an interesting point of view. ... But I think there's a much more pragmatic reason. The general rule is: Try to avoid z-index. Only use it, if there is no better way. The code will be much easier to maintain without them. Sometimes z-indizes can't be avoided, so the programmer chooses a value around 100. There is enough space for others to be above and below. 10 isn't sensible, since there are only 10 values (0..9) left. If you need lower priority, you'll need to start to use negative numbers, which introduces a new "mental model" eg: -1 is highger priority than -2 ... High numbers are used, if you "really really" want an element to stick on top. eg: 10000 or -10000 Around 4 digits it's pretty save, that others don't overwrite your intentions by accident. They may also start at 100 and find out, if that's enough or not. BUT The primariy rule is: *Try to avoid z-index*, except it's needed or it improves animation performance (google is your frind here ;). have fun! 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 post to this group, send email to [email protected]. 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/b965687a-7bb5-409b-b5d7-fefe573a54ee%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

