View Single Post
Old 07-16-2020, 02:38 PM   #3
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: 28,661
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by hobnail View Post
The path (href) is incorrect; it's a relative path so it should start with ../Styles/; dot dot goes up, then it goes down into the Styles folder.
That's not necessarily true. The latest versions of Sigil will allow people to create epubs with all files in the same folder (or right at the root of the zip archive) if they so choose. So it could be a valid ebook path.

Quote:
Originally Posted by hobnail View Post
The best (easiest) way to link the CSS file is to right click on the html/xhtml file in the Book Browser and from the popup select Link Stylesheets...
That's solid advice. No matter the internal structure of the epub happens to be, Link Stylesheets will add it with the correct path.
DiapDealer is offline   Reply With Quote