Originally Posted by Jellby
I think those pseudo-elements are not supported in ePUB, so beware.
According to this popular page
the limitation seems to be ADE, not ePub:
(ADE 1.0 doesn't support:
* text-align: justify;
* font-variant: small-caps;
* OPS extras:
o display: oeb-page-head;
o display: oeb-page-foot;
o oeb-column-number: [integer]; )
'course, I'm not exactly
shooting for ePub.
It matches a p immediately following an h4 contained inside a div.body. The + is the "adjacent sibling" selector (other selectors here).
Done some reading now, and I get it, I think. Headings don't contain
paragraphs, so the best you can do is look for nearness. If there is even an img
then no good.
Thanks for helping!
What is the good ol' CSS way to make a horizontal rule? In my current CSS, I've added page-break-after to all my div
s, which works as expected in print preview -- but I'd love to add a visible rule for normal browsers, which don't break the page.
Am I right in thinking that hr
is a formatting tag?
m a r