Link Details

Link 931915 thumbnail
User 225256 avatar

By mswatcher
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.
  • 8
  • 0
  • 666
  • 514

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java