The beauty of moving all the formatting into the stylesheet is that now, you can make changes in one place and affect the formatting throughout the book.
For instance, you might want to add an indent to all paragraphs, except those after a heading.
That can be done by the following CSS code in the stylesheet:
Code:
h2 + p {
text-indent: 0;
}
and adding in
to the existing
p definition in the stylesheet.
The new code says that for the first
p following a
h2 override the text-indent.