By mswatcher
via blog.dmbcllc.com
Published: Mar 01 2013 / 09:54
Anyone familiar with CSS knows that classes are generally reserved for controlling how an element looks (font, color, size, etc) and rules are generally reserved for where the element is positioned on the screen. The reason for this is that rules correspond to the id attribute of the elements on the screen and if you are using well formed html, you can only have one element on the page with any specific ID. That is, IDs are unique.
Add your comment