https://bugzilla.wikimedia.org/show_bug.cgi?id=40618
Yair Rand <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #17 from Yair Rand <[email protected]> --- To just get the fixed numbering column without manually adding cells to each row or using JS, one could use CSS generated-content cells with counters: table.autonumber > tbody { counter-reset: autonumbering; } table.autonumber > tbody > tr::before { counter-increment: autonumbering; content: counter(autonumbering); } table.autonumber > thead > tr::before { content: "№"; } table.autonumber > thead > tr::before, table.autonumber > tbody > tr::before { display: table-cell; padding: 0.2em; border: 1px solid #AAA; vertical-align: middle; text-align: center; } -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
