Hmm, I don't think I've had that happen to me, though my usual MO when I do this is to import a single (huge) xhtml with embedded CSS, then create my own separate CSS file using the embedded elements, then split the xhtml into chapters. Which all inherit the same CSS file after splitting.
So I'm guessing here: It is probably because all of the xhtml files contain a reference to the external CSS file, so sigil imports that too, over and over, and presumably renames it to something like Style001.css, Style002.css, etc.
Are all the imported CSS files identical (except in name, of course)? If so you could delete all but one, then modify the references in each xhtml file to point to the one css file. Note that you can do search-and-replace with a regular expression ("regex") over all your xhtml files, so all the modifications can be done in one lick, rather than having to edit them all individually.
Help on using the power of sigil's regex search and replace is available elsewhere in this forum. Or if you get stuck, ask.
ETA: I should read more thoroughly. What I just said above would seem to be the case, and my suggestion is the same (though perhaps more verbose) as that of theducks, a couple of posts previous. Should be an easy fix if our assumptions are correct.
Last edited by st_albert; 11-01-2010 at 08:00 PM.
|