Quote:
Originally Posted by JSWolf
Can you do this so the code works with both ePub2 and ePub3?
|
This does work for both as long as the ePub2 supports display:table, which I'm pretty sure they all do. If it is an ePub3 only reader, then you could use display:flex for a cleaner, more elegant, solution.
Quote:
Originally Posted by JSWolf
The way most title pages are done is to use a graphic image. Make it hi-resolution and you can have whatever at the top and whatever at the bottom and centered. The middle can also have whatever it is you want. The CCS and code to display a full page graphics is trivial.
|
Yes, sometimes that is easier...especially if there are a lot of graphic elements on the title page. If there are only a few graphics, like a publisher logo, then it is cleaner to just use text and insert the image as we have here. It reduces the ePub file size without needing another hi-res image and the text itself will be very clean no matter the display size.
edit: corrected ePub3 to ePub2