View Single Post
Old 09-26-2012, 06:12 PM   #13
SusanM
Bemused by possibilities
SusanM ought to be getting tired of karma fortunes by now.SusanM ought to be getting tired of karma fortunes by now.SusanM ought to be getting tired of karma fortunes by now.SusanM ought to be getting tired of karma fortunes by now.SusanM ought to be getting tired of karma fortunes by now.SusanM ought to be getting tired of karma fortunes by now.SusanM ought to be getting tired of karma fortunes by now.SusanM ought to be getting tired of karma fortunes by now.SusanM ought to be getting tired of karma fortunes by now.SusanM ought to be getting tired of karma fortunes by now.SusanM ought to be getting tired of karma fortunes by now.
 
SusanM's Avatar
 
Posts: 58
Karma: 480244
Join Date: Jul 2012
Device: iPad3, Kobo
Quote:
Originally Posted by Klip View Post
That's what I used to do, amyg - but it no longer works:
With this version of InDesign, it adds your CSS document to InDesign's automatically created CSS, instead of replacing it. So there are two .css documents, both linked to all the XHTML documents. It does this even if you click the option not to create styles - then it just creates a much shorter default style sheet with rules for body, div, and all images.

So if you are clever you can write the imported CSS in such a way that they overwrite the InDesign version but I cant always figure a way to do that.

But my problem is not really with the CSS generated - I can always replace that. It's with the class references in the XHTML document. Because they get duplicated in this way, unless I do a regular expression find and replace to change them all to the same class reference, I would have to write a style for each of these duplicated classes, that are actually the same

Possible to do, but it's so messy!
I noticed the same thing, but I ended up with two stylesheets - one generated by InDesign and my external stylesheet. I also found that my object style did not export so I ended up adding a top margin to the frame.

I thought object styles were supposed to export. Also, does the relative to page format work for iBooks? I haven't tested this out or do you have to select fixed for iBooks?
SusanM is offline   Reply With Quote