And just remember that W3c schools is a SUPERSET (used for WEB design) of what is used in EPUB. You can NOT use everything there.
I would suggest you first understand the Box Model (you can see that in action in the Editor Preview. Right click, inspect element) as it might help you understand what needs to be adjusted to effect results desired.
Note: Not everything can be done with simple (epub2) CODE. Nor should it be done, unless you don't care about wide device compatibility.
|