Does anyone know if there is a max length for class names? Of course I am not aiming for them to be big (just having to potentially deal with them).

A database I'm working with is spitting out some long class names on some list items that I am trying to do image replacement on. I think the longest one is 22 characters. Not sure I can make the class names small at this point as they are needed for other areas of the site.

Also, I know ID's can't start with numbers, but does the same apply to classes?

Ta folks.