CSS Generated Content

By Deane Barker on November 18, 2002

One of the great disappointments of CSS is that it only affects the appearance of existing elements; it can’t insert content into a document. For instance, if I wanted the start of every paragraph to have “Paragraph #X” just above it, there’s no way to do this. Or, is there?