Quote:
Originally Posted by icallaci
Your code demonstrates why I define classes and don't use bare tags. In your CSS, you define h2 + p as non-indented, but it doesn't work because the <h2> tag is followed by <p class="ph"> and not <p>. So all of your first sentences are indented, which I assume is not what you meant to do.
|
That is a mistake. I meant to go back at the end and add in the correct call to remove the indent. I have fixed it and posted a new version. The h2 + p was supposed to have been removed. But it would noy have caused any problem at all. It would have been a redundancy.
Now have another look and you'll see the corrected code. In cases where there is nothing after the chapter title and the first paragraph, h2 + p works perfectly on a bare p.