View Single Post
Old 04-02-2017, 07:26 PM   #17
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by ChipSuey View Post
I was able to attach the content.opf file, but I can't seem to upload the css or xhtml file, so I'm posting them as text here (snippets)

Chapter 8 (since that was the example I gave before)

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>The Other La Bohème</title>

<link href="../stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="../page_styles.css" rel="stylesheet" type="text/css"/>
</head>
<body id="AAN1104_Digest-11" lang="en-US" class="calibre">
<div class="_idgenobjectstyleoverride1">
<p class="bookbaby-formatting_centered"><span class="charoverride4">Scene 8</span></p>
<p class="bookbaby-formatting_between-titles"><img class="_idgenobjectattribute3" src="image/16.png" alt=""/></p>
<p class="bookbaby-formatting_drop-caps"><span class="_idgendropcap">O</span>n a Friday John a quiet<span class="widow"> corner.</span></p>

and the stylesheet.css (this one's pretty long)

<snipped>

Driving me nuts, this is!
One other comment, which you'll probably ignore, but: if someone at my shop handed me that CSS, for a book we were doing, he wouldn't be working for me the following day. That's not "clean." Not even remotely. You said it had been cleaned--whoever is doing that clean-up for you--you need to have a chat with that person. I have no objection to large CSS sheets; we use one ourselves, in our "HouseCSS." But we typically delete everything we're not using, so that forensics, if we have issues, and troubleshooting, are expedited, not hindered.

I tell you this not to criticize, but whatever is being used to clean it, isn't doing the job. Troubleshooting in this horrifically messy environment is 10x the difficulty as it should be. Delete all the utterly unnecessary margin calls, at LEAST. I assume that the blank chunks are you disguising something you don't want us to see--if they aren't, delete those, too.

TONS of stuff here that should be deleted. I'd also remark that except in unique situations, I wouldn't be sizing things in px. That's asking for trouble.

Offered solely FWIW.

Hitch
Hitch is offline   Reply With Quote