Thread: CSS Question
View Single Post
Old 02-28-2012, 09:05 AM   #7
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
If you've added the style sheet to the ePub using Sigil, then it HAS to be in the "Styles" folder. That's where Sigil puts any file you add that has the .css extension. So make sure it's in the "Styles" folder (when in Sigil)... and if it's named "style.css", then the link code will be:
Code:
<link href="../Styles/style.css" rel="stylesheet" type="text/css" />
The folder you have the ePub saved in on your hard-drive isn't relevant. Only the paths within the ePub are relevant.

Last edited by DiapDealer; 02-28-2012 at 09:08 AM.
DiapDealer is offline   Reply With Quote