The body element of the document cover.xhtml should have a unique attribute like id="cover" in order to be able to create a CSS style that targets it only.
One will most probably always want to reduce default page margins to zero for that document only, in order for ereaders to display that illustration from edge to edge of the screen (or at the very least as large as each ereader allows), or apply Adobe Digital Editions-only CSS oeb-column-number: 1 so that the cover is always displayed centered even when the ereader defaults to displaying facing pages.
Currently, the sole child of cover.xhtml's body element does have a distinctive attribute (<div id="cover-image">) but that does not help in being able to reduce its parent's default margins, which will pretty much always be non-zero.
The
bodyelement of the document cover.xhtml should have a unique attribute likeid="cover"in order to be able to create a CSS style that targets it only.One will most probably always want to reduce default page margins to zero for that document only, in order for ereaders to display that illustration from edge to edge of the screen (or at the very least as large as each ereader allows), or apply Adobe Digital Editions-only CSS
oeb-column-number: 1so that the cover is always displayed centered even when the ereader defaults to displaying facing pages.Currently, the sole child of cover.xhtml's
bodyelement does have a distinctive attribute (<div id="cover-image">) but that does not help in being able to reduce its parent's default margins, which will pretty much always be non-zero.