Simon Willison’s Weblog

Subscribe

CSS numbered code listings

10th July 2002

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.

Next: First Church of Pac-Man

Previous: The semantic web explained

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