CSS and Line Numbering

For all the CSS experts out there, I'm looking for a way to do line numbers in a CSS document. I want to have a legal pleading style document with each line numbered to the left of the line. Any ideas on how to approach this?