I tried this and it worked in all browsers (IE, FF, Chrome, Opera and Safari):
.classname#id
Still, I can't find this mentioned anywhere on w3c.org, can you point me to where this is mentioned? I mean if this is supported by all those browsers then it must be part of the standard, isn't it?
Many thanks