04-22-2011, 02:44 PM | #1 |
eWanderer
Posts: 523
Karma: 1441998
Join Date: Jul 2010
Location: NC, USA
Device: iMac,iPad3,iPhone5-Kindle Fire,Touch,PaperWhite
|
h3 tag is being changed on save
I'm using Sigil to change a single css attribute but when I "save," Sigil is also changing <h3> to <h3 id="heading_id_2">
It doesn't change the way my epub output looks but it is doubling my paragraph spacing when converted to .mobi format (in Calibre). Why is Sigil making the change and can I fix? |
04-22-2011, 02:52 PM | #2 | |
Well trained by Cats
Posts: 29,832
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
That should not affect Paragraph spacing, it only applies a label to the header. |
|
Advert | |
|
04-22-2011, 03:03 PM | #3 |
eWanderer
Posts: 523
Karma: 1441998
Join Date: Jul 2010
Location: NC, USA
Device: iMac,iPad3,iPhone5-Kindle Fire,Touch,PaperWhite
|
The original file has a great working TOC without going thru Sigil... so not sure I understand. The original is coming from "Pages" on a Mac. The only change I want to make is an css text-indent change from being a percentage to a set 1.5em
Last edited by 1611mac; 04-22-2011 at 03:06 PM. |
04-22-2011, 04:21 PM | #4 |
Guru
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
|
You don't need Sigil for that. Just expand the epub, edit the .css file with a text editor, and re-zip the epub. If you're on a mac, I think PDurrant has some apple scripts to automate the pack / unpack process. Look in the epub forum.
|
04-22-2011, 04:35 PM | #5 |
eWanderer
Posts: 523
Karma: 1441998
Join Date: Jul 2010
Location: NC, USA
Device: iMac,iPad3,iPhone5-Kindle Fire,Touch,PaperWhite
|
Oh man... of course... thanks much.
|
Advert | |
|
04-22-2011, 05:04 PM | #6 |
eWanderer
Posts: 523
Karma: 1441998
Join Date: Jul 2010
Location: NC, USA
Device: iMac,iPad3,iPhone5-Kindle Fire,Touch,PaperWhite
|
Expanded, changed, and compress again with your suggested script. Problem solved. The epub and it's converted mobi both look great! Thanks
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding an Owner tag to tag list? | Fangles | Library Management | 1 | 02-25-2011 02:32 AM |
Nothing has really changed | taming | General Discussions | 31 | 01-15-2011 07:17 PM |
Save File location and Save As question | DougFNJ | Calibre | 0 | 09-17-2009 04:56 PM |
Can longtitle be changed? | AlexBell | Kindle Formats | 9 | 04-11-2009 07:47 AM |