Quote:
Originally Posted by DNSB
Which would only work is there no other code between the </h2> and the <p>. Quite a few ebooks seem to place images, subheaders, etc. between the chapter header with the </hx> ending tag and the initial p.
|
Most eBooks have a single line chapter header. So that would work there.
For cases where you have other stuff between the chapter title and the first paragraph, you could use another h like h3 and then code the relevant CSS for that.