Can I apply a CSS style to all headers from H1 to H6?
+8
A:
If you mean that you want a CSS selector that targets all header elements, then no. You have to specify each tag name.
Example:
h1, h2, h3, h4, h5, h6 { margin: 5px 0; font-weight: bold; }
Guffa
2009-10-08 08:08:25
+3
A:
you can do this with css. use the following:
h1, h2, h3, h4, h5, h6 { color:red; /* and the rest of your styles */ }
see http://www.w3schools.com/css/css_intro.asp for a good tutorial
knittl
2009-10-08 08:09:03