View Single Post
Old 05-19-2010, 06:23 PM   #3
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Here is what I have tried:

1: Load PG html file into Sigil.

2: As soon as the file is loaded, Open Styles and add the following css file

Code:
/* make all hyperlinks black */
a {
color: #000000;
}

/* leave room for page numbers etc in ade */
body{
	margin-left: 15px; margin-right: 15px;
}

/* just a little spacing between paragraphs with nice indent */
p {
	margin: 0; padding-bottom: 5px; text-indent: 1.5px;
}

/* make it look more book-like */
h1, h2, h3, h4, h5, h6 {
	 margin: 0; padding-bottom: 5px; text-align: center;
 }

/* remove paragraph indent */
.noindent{
	margin: 0; padding-bottom: 5px; text-indent: 0;
}
3. Go to codeview top and add the following line in <meta>

Code:
  <link rel="stylesheet" type="text/css" href="../Styles/"main.css" />
sgf-# have been created.

4. Remove style sheet entries from Sigil.

5. Go back to textview. NO EFFECT

6: Go back to codeview
All sgf-# have disappeared from the code.
The style sheet entry reverts to
Code:
  <link rel="stylesheet" type="text/css" href="../Styles/" />
There is no effect on the presentation in textview and I can see nothing wrong in the style sheet.
crutledge is offline   Reply With Quote