Heal Your Church WebSite


Teaching, rebuking, correcting & training in righteous web design.

Generated content, automatic numbering and lists

Here is yet another reason why DiveIntoMark.org should be part of your daily technoBlog reading – Auto-numbered nested lists. As Mark puts it:

.. [it] uses a little-known CSS technique called automatic counters. It is supposed to display the outer list as “1.”, “2.”, “3.”, “4.”, “5.”, and the inner list as “2.1.”, “2.2.”, “2.3.”, “2.4.”. In other words, auto-numbering the inner list with both a major and minor item number.

I can see a couple of uses for this technique for your church web site, especially those that enumerate long passages of quoted Scripture. The trick being to use “:” instead of “.” as a separator. It might also be very useful for displaying church documents such as bylaws and Sunday school lessons that are presented in outline form. Of the later, the best example I can think of would be the W3C’s on documentation on the topic.

Tell you what, I have to run off to work. If some of you get some working examples of the above technique, leave a comment showing-off your handiwork!

One Comment

  1. This is really neither here nor there, but I thought you might be interested to know that some Biblical scholars actually prefer to use a period as a separator rather than a colon.

    It’s less visually confusing when listing many references in a row–the colon and the semicolon look so much alike in certain fonts that distinguishing them is a real pain.

    Contrast
    Gen 3:1-2; Ex 1:5; Lev 2:1-3, 5-6; Rev 1:2
    with
    Gen 3.1-2; Ex 1.5; Lev 2.1-3, 9-10; Rev 1.2