Simon Willison’s Weblog


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