Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-03-2011, 03:46 PM   #1
GeorgeHB
Junior Member
GeorgeHB began at the beginning.
 
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!
GeorgeHB is offline   Reply With Quote
Old 11-03-2011, 06:56 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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:
Originally Posted by GeorgeHB View Post
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!
is there a xpgt file in the stylesheet section?
theducks is offline   Reply With Quote
Advert
Old 11-03-2011, 07:07 PM   #3
GeorgeHB
Junior Member
GeorgeHB began at the beginning.
 
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-spacere}

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>
GeorgeHB is offline   Reply With Quote
Old 11-03-2011, 07:14 PM   #4
GeorgeHB
Junior Member
GeorgeHB began at the beginning.
 
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-spacere}

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>
GeorgeHB is offline   Reply With Quote
Old 11-03-2011, 07:16 PM   #5
GeorgeHB
Junior Member
GeorgeHB began at the beginning.
 
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-spacere}? I copied the code from the html file and pasted it into the quick reply, and the smiley appeared. I'm confused!
GeorgeHB is offline   Reply With Quote
Advert
Old 11-03-2011, 07:25 PM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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:
Originally Posted by GeorgeHB View Post
Sorry I posted that code twice. What is the smiley face doing in the line: span.Apple-tab-span {white-spacere}? I copied the code from the html file and pasted it into the quick reply, and the smiley appeared. I'm confused!
Because there is a colon) that gets interpreted as an emoticon.

You have no external stylesheet that applies to this page.

Does this page have the problem? The image may have the border/background?
theducks is offline   Reply With Quote
Old 11-03-2011, 07:53 PM   #7
Serpentine
Evangelist
Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 1045911
Join Date: Sep 2011
Location: Cape Town, South Africa
Device: Kindle 3
What do you mean 'background' :
  • do you mean that there is an image tiled behind your text?
  • do you mean that your text has a background color? (i.e black on white - rather than black on transparent).
  • are you talking about the front cover which you don't want?

Can you provide a screenshot? Can you provide the epub? (you can replace all the text with something else if you wish)
Serpentine is offline   Reply With Quote
Old 11-03-2011, 08:57 PM   #8
GeorgeHB
Junior Member
GeorgeHB began at the beginning.
 
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!
GeorgeHB is offline   Reply With Quote
Old 11-04-2011, 05:50 AM   #9
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by GeorgeHB View Post
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!
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.
DoctorOhh is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 03:42 PM.


MobileRead.com is a privately owned, operated and funded community.