Remark #2: konqueror transforms CSS: h1#helloWorld:hover { ... } to h1[id"helloWorld"]/a:hover Why? Are there any rules or is this undefined and may change with new versions of khtml? In NS it is, as expected: h1#helloWorld:hover