View Single Post
Old 10-17-2011, 04:59 PM   #1
SamL
I mess around with Epubs
SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.
 
Posts: 82
Karma: 1566
Join Date: Mar 2011
Location: Cambridge, MA
Device: mac, ipad, nook, kindle
CSS Styles From InDesign 5.5 Export Problem

I've been having this problem, and was wondering if other have run in to it. When I export my epub from InDesign, it makes a bunch of styles for the same thing.

For example my header style is

Quote:
header
{
font-size: 1.5 em;
font-weight: bold;
margin-bottom: 0.5em;
}
but then for every chapter, it creates a new style, even though it does the same thing. So my CSS comes out looking like:

Quote:
header
{
font-size: 1.5 em;
font-weight: bold;
margin-bottom: 0.5em;
}

header-1
{
font-size: 1.5 em;
font-weight: bold;
margin-bottom: 0.5em;
}

header-2
{
font-size: 1.5 em;
font-weight: bold;
margin-bottom: 0.5em;
}
header-3
{
font-size: 1.5 em;
font-weight: bold;
margin-bottom: 0.5em;
}
It does this for all my styles, so my CSS is very cluttered when using 5.5, I have resorted to using CS4 because I didn't have this problem.

Any suggestions on what might be causing this. Just for reference, I create a chapter, and make all the styles for it. I then pour each chapter into the same file and save it as a new name. So I'm not sure if thats what is giving me all the multiple styles or if its something else.

Thanks in advance for any help.
SamL is offline   Reply With Quote