When did the CSS terminology change so that a named instance (id attribute) was now called a class? What happened to the class attribute? Surely if you actually define a class then your CSS would look more like
div.centered {
...
}
and the HTML becomes
Has no-one else already pointed this out?
Edit: formatting

































