query: What is the difference between id and class in CSS, and when should I use them?
positive_passages.docid: 19563
positive_passages.text: Div's class vs id
negative_passages.docid: 135723
negative_passages.text: Why does changing a CSS class name break the styles?
negative_passages.docid: 154892
negative_passages.text: Can you style XHTML elements in another namespace using id and class name css selectors?
negative_passages.docid: 88315
negative_passages.text: Assigning classes to elements through CSS
negative_passages.docid: 46872
negative_passages.text: What does a space mean in a CSS selector? i.e. What is the difference between .classA.classB and .classA .classB?
negative_passages.docid: 150906
negative_passages.text: How to use 'hover' in CSS
negative_passages.docid: 388
negative_passages.text: When to use IMG vs. CSS background-image?
negative_passages.docid: 31579
negative_passages.text: jQuery: dealing with a space in the id attribute
negative_passages.docid: 22324
negative_passages.text: What's the difference between declaring a variable "id" and "NSObject *"?
negative_passages.docid: 33678
negative_passages.text: What do commas and spaces in multiple classes mean in CSS?
negative_passages.docid: 95541
negative_passages.text: Why JS function name conflicts with element ID?
negative_passages.docid: 40738
negative_passages.text: How bad is it to use display: none in CSS?
negative_passages.docid: 28761
negative_passages.text: Should I use  tag for icons instead of ?
negative_passages.docid: 113270
negative_passages.text: What does a[href^="..."] do in CSS?
negative_passages.docid: 45544
negative_passages.text: Can an html element have multiple ids?
negative_passages.docid: 128059
negative_passages.text: Can I use non existing CSS classes?
negative_passages.docid: 82667
negative_passages.text: Why does .foo a:link, .foo a:visited {} selector override a:hover, a:active {} selector in CSS?