User:Timeshifter/common.css

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; }