Discussion on:

Message 85 of 92
0 Votes
+ -
Since when was "id=" used with CSS classes?
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
Posted by si@...
Updated - 18th Jan 2008