Forum Moderators: not2easy
element.class .class element h1.header .header h1 h1#header #header h1
Does the same thing hold true when using IDs instead of classes?
div.header h1
div.header p
div.header p.extra
div.header .classname
If the only thing that will ever have special styling is the h1 itself, it's more appropriate to apply the class/id name directly to h1. Less work for the browser and easier for you to keep track of. .header h1, h1.header {style-stuff-here}