More actions
Sazzmatazz (talk | contribs) →NPCTableHead formatting issue: new section |
Sazzmatazz (talk | contribs) |
||
| Line 74: | Line 74: | ||
== NPCTableHead formatting issue == | == NPCTableHead formatting issue == | ||
Browsing through documentation on NPCTable I had noticed that sometimes '''[collapse]''' element in the tables is placed wrong - just check documentation on [[Template:NPCTableHead|NPCTableHead Template]] for example (the very bottom examples of tables). <br> | Browsing through documentation on NPCTable I had noticed that sometimes '''[collapse]''' element in the tables is placed wrong - just check documentation on [[Template:NPCTableHead|NPCTableHead Template]] for example (the very bottom examples of tables). <br> | ||
The reason is that '''[collapse]''' element is positioned in the ''{position: absolute}'' way and the position is determined from the ancestor with a defined position which is currently mw-body-content. If you introduce new paragraphs or blocks it doesn't change the ancestor for '''[collapse]''' positioning.<br> | The reason is that '''[collapse]''' element is positioned in the ''{position: absolute}'' way and the position is determined from the ancestor with a defined position which is currently mw-body-content. If you introduce new paragraphs or blocks it doesn't change the ancestor for '''[collapse]''' positioning.<br> | ||
| Line 83: | Line 82: | ||
[[User:Sazzmatazz/Sandbox/old npc table head|old npc table head]]<br> | [[User:Sazzmatazz/Sandbox/old npc table head|old npc table head]]<br> | ||
[[User:Sazzmatazz/Sandbox/correct npc table head|correct npc table head]] | [[User:Sazzmatazz/Sandbox/correct npc table head|correct npc table head]] | ||