in reply to Dynamically creating CSS elements

I can't help but think that there's something wrong with the way you're doing CSS altogether -- want to explain some more? -- but surely the simplest way would be to start with a $current_class_name of "a" and increment it every time you need a new one. You can't run out of class names because when you get to "z" you increment to "aa" and so on.


($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
=~y~b-v~a-z~s; print