https://bugzilla.wikimedia.org/show_bug.cgi?id=40618

Yair Rand <yyairr...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yyairr...@gmail.com

--- Comment #17 from Yair Rand <yyairr...@gmail.com> ---
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to