Thread: HTML?
View Single Post
Old 05-17-2022, 04:56 PM   #16
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,439
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by 1eduard View Post
So, you've to learn HTML5, SVG, and CSS to know EPUB?
A basic, slightly boring (visual stylistically) is really simple HTML/CSS.

CSS is just a way to centralize (in the book), styling rules, rather than use a style= every place.

Change the CSS entry for a class= usage and all uses follow.

SVG allows tighter image manipulation. It is not required (if you don't mind aspect distorted images on some devices) Sigil has a SVG plugin available, to do the heavy lifting

IMHO the harder part of EPUB creation is avoiding device (specific) limitations.
eg. my early device did not center a nn% HR. Want it centered... force that with the left margin ((100-HRwidth)/2)%
I made a 'sampler' of code ideas for a more fancy rendering of chapter titles. That was a great way to learn and use the Box Model'
theducks is offline   Reply With Quote