Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

CSS numbered code listings

I’ve been experimenting with using CSS and <ol> tags to format code listings, complete with line numbering. Here’s what I’ve got so far: Numbered Code Listing Experiment.

This is CSS numbered code listings by Simon Willison, posted on 10th July 2002.

View blog reactions

Next: First Church of Pac-Man

Previous: The semantic web explained

1 comment

  1. Broken link!? http://development.incutio.com/simon/numbered-code -experiment.html Please fix. Please also notify http://www.satzansatz.de/cssd/listinjection.html to fix it there, too. Thanks! ;o)

    Me - 24th March 2006 00:37 - #

Comments are closed.

Previously hosted at http://simon.incutio.com/archive/2002/07/10/numberedCodeListing

A django site