View Single Post
Old 02-12-2016, 12:48 PM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by leito360 View Post
There's a small issue... since the pages are all separated, and share the same style sheet, they also share the same position, so I merge them that way they overlay each other this way:

http://i.imgur.com/plxGDgQ.png

Any ideas?

I learned some HTML back in the day, but I never got to learn CSS, I just hit a wall there.
Yikes, that looks horrible!

But that isn't because they share the same stylesheet.
It is because somewhere there is a style that tells the page content to use absolute positions (which is extremely unwise for basically this reason).

Unfortunately the book is a PDF conversion so it is natural to expect it to need touching up...
You should take a look at the styles as theducks says (but I don't think it is line-height or the unmerged pages would look the same ).
As theducks says, CSS is pretty basic, all it does is moves the style="" attribute into its own section or file. I assume you have used html styles?

The W3Schools tutorial might come in useful: http://www.w3schools.com/css/css_howto.asp
Or Pablo's quick and dirty EPub_Tutorial


...


If you hit a snag, remember you can paste your CSS here using the [CODE][/CODE] tags.

(Rendered visible through the now-recursive power of [NOPARSE][/NOPARSE].)

Last edited by eschwartz; 02-12-2016 at 12:50 PM.
eschwartz is offline   Reply With Quote