Chris

Thank you very much! 
I have blogged it at 
http://www.teigfam.net/oyvind/home/technology/061-wordpress/#academic_style_reference_list
"Academic style reference list"

Øyvind Teig
Trondheim, Norway

15. aug. 2013 kl. 04:33 skrev Chris Rockwell <ch...@chrisrockwell.com>:

> I had to do some research on this one, and I'm always amazed at how I forget 
> about the table layout properties of CSS.  I guess it's so ingrained that 
> tables are bad, I still haven't allowed them back into my head (despite 
> having used the properties several times on recent projects).
> 
> ol.ol_href {
>     list-style-type: none;
>     counter-reset: section;
>     padding-left: 0;
> }
> ol.ol_href li {
>   display: table-row
> }
> ol.ol_href li:before {
>     counter-increment: section;
>     content: "[" counter(section) "] ";
>     padding-right: 1em;
>     display: table-cell;
> }
> 

______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to