
: Re: Content Property in EPUB 2 I am working with EPUB 2 specifications and I am trying to determine whether or not the content property is supported in EPUB2. I know that it is for EPUB 3
EPUB 2 specifies content as supported property in the list of CSS properties.
However, it is based on CSS 2.1, where the content property is allowed only for :before and :after pseudoelements. As the linked EPUB 3 spec shows (by linking to CSS 2.1), the same restriction applies in EPUB 3.
Thus, the code in the question won’t work, to the extent that it relies on the content property. Moving the declaration to apply to a pseudo-element, if applicable, should work in conforming software:
.TXBDINGBATS:before {
content: "2217 a0 a0 a0 a0 a0 2217 a0 a0 a0 a0 a0 2217";
}
Free books android app tbrJar TBR JAR Read Free books online gutenberg
More posts by @Courtney