View Single Post
Old 05-19-2010, 11:21 PM   #5
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: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
This procedure works!!!

1: Load the HTML file into an external editor.
2: Extract the style sheet from the HTML and save as main.css in the same folder as the HTML file.
3: Place the following code into the HTML file:

Code:
  <link rel="stylesheet" type="text/css" href="main.css" />
4: Test in IE
5: Modify main.css as desired and re-test.
6: Load the HTML file to Sigil.
7: Open codeview and go to the top and find the following code;


Code:
  <link rel="stylesheet" type="text/css" href=../Styles/"main.css" />
8: Open the Styles Section and find main.css has been loaded.

From this point on, everything is tea and cookies,
This may violate the spirit of Sigil but until someone comes up with a better procedure, I'm happy. This solves my problem with PG files. BTW, ADE has no problems with it.
crutledge is offline   Reply With Quote