Quote:
Originally Posted by leito360
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].)