![]() |
#1 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Oct 2011
Device: Kindle
|
help with sigil page bkgd.
I somehow have a page background that is showing up when I bring an e-pub from Sigil into Calibre so I can generate a mobi file. Any ideas? I don't see anything that refers to bkgd color in the css head, or the rest of the code. I admit I'm code-challenged, but please help!
|
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,889
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Oct 2011
Device: Kindle
|
I couldn't find that. Here is the code for the cover page:
<?xml version="1.0" encoding="utf-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="text/css" http-equiv="Content-Style-Type" /> <title>You're Hired</title> <meta content="Lorne Epstein" name="Author" /> <meta content="Cocoa HTML Writer" name="Generator" /> <meta content="1038.36" name="CocoaVersion" /> <style type="text/css"> /*<![CDATA[*/ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; text-align: center; font: 12.0px Helvetica; min-height: 14.0px} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; text-align: center; font: 12.0px Helvetica} p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica} p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px} span.s1 {text-decoration: underline} span.s2 {letter-spacing: -0.2px} span.s3 {letter-spacing: -0.3px} span.Apple-tab-span {white-space ![]() span.sgc-4 {font-weight: bold} b.sgc-3 {font-style: italic} p.sgc-2 {font-style: italic} p.sgc-1 {font-weight: bold} span.sgc-5 {font-weight: normal;} body.sgc-6 {word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;} /*]]>*/ </style> </head> <body class="sgc-6"> <p class="p1"><img alt="" src="../Images/63212_YoureHired_Cvr_front_sm.jpg" /><br /></p> <p class="p2 sgc-1"><span class="sgc-5"><br /></span></p> </body> </html> |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Oct 2011
Device: Kindle
|
I couldn't find an xpgt file that showed in the code. Here is the code for the cover page:
<?xml version="1.0" encoding="utf-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="text/css" http-equiv="Content-Style-Type" /> <title>You're Hired</title> <meta content="Lorne Epstein" name="Author" /> <meta content="Cocoa HTML Writer" name="Generator" /> <meta content="1038.36" name="CocoaVersion" /> <style type="text/css"> /*<![CDATA[*/ p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; text-align: center; font: 12.0px Helvetica; min-height: 14.0px} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; text-align: center; font: 12.0px Helvetica} p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica} p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px} span.s1 {text-decoration: underline} span.s2 {letter-spacing: -0.2px} span.s3 {letter-spacing: -0.3px} span.Apple-tab-span {white-space ![]() span.sgc-4 {font-weight: bold} b.sgc-3 {font-style: italic} p.sgc-2 {font-style: italic} p.sgc-1 {font-weight: bold} span.sgc-5 {font-weight: normal;} body.sgc-6 {word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;} /*]]>*/ </style> </head> <body class="sgc-6"> <p class="p1"><img alt="" src="../Images/63212_YoureHired_Cvr_front_sm.jpg" /><br /></p> <p class="p2 sgc-1"><span class="sgc-5"><br /></span></p> </body> </html> |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Oct 2011
Device: Kindle
|
Sorry I posted that code twice. What is the smiley face doing in the line: span.Apple-tab-span {white-space
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,889
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
You have no external stylesheet that applies to this page. Does this page have the problem? The image may have the border/background? |
|
![]() |
![]() |
![]() |
#7 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 416
Karma: 1045911
Join Date: Sep 2011
Location: Cape Town, South Africa
Device: Kindle 3
|
What do you mean 'background' :
Can you provide a screenshot? Can you provide the epub? (you can replace all the text with something else if you wish) |
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Oct 2011
Device: Kindle
|
I found the CSS editor in Calibre and changed the background color to white from the grey it was. This is a pretty steep learning curve for a WYSIWYG print guy like me!
Thanks to all who jumped in to help! |
![]() |
![]() |
![]() |
#9 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Glad to see you cleared it up. Next time when you have the book opened in Sigil open the .css file (usually found in the style folder) to look for and remove the background color. This .css is file is a separate file from the html files that have the book text.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil 0.4.1 : unwanted span added by Sigil | Bertrand | Sigil | 0 | 09-02-2011 05:28 AM |
Sigil 0.3.4 / Sigil 0.4.0 RC1 / Cover in Nook Color | Bertrand | Sigil | 13 | 08-06-2011 04:06 AM |
Sigil 0.3.4 / Problème CSS entre Sigil et iPad | Grivels | Software | 10 | 07-03-2011 09:06 AM |
image on separate page without half-page text next | Toxaris | ePub | 2 | 01-26-2011 03:32 AM |
Request Continuous (PAN and Next Page) Mode with the Next Page button | AnuragSethi | enTourage Archive | 4 | 06-18-2010 04:25 PM |