![]() |
#1 |
attempting author
![]() Posts: 4
Karma: 10
Join Date: Mar 2011
Location: Alberta, Canada
Device: Kobo
|
CSS link keeps changing
I have used sigil before to edit epub after running through Smashwords meatgrinder, but the first time I am making my own.
I am running the newst version of Sigil. 0.9.9 on windows 10. I can't link to my CSS file. i paste the link between <title></title> <link rel="stylesheet" type="text/css" href="../Styles/Style0001.css" /> And it changes it to this after I save. <link rel="stylesheet" type="text/css" href="../Styles/Style0001.css" /> every time, every chapter. ![]() |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,717
Karma: 5703586
Join Date: Nov 2009
Device: many
|
It thinks you are trying to paste text that you want people to read thus the need to escape the text.
What source did you copy the string that you pasted? Re you trying to paste in Bookview by any chance and not Codeview? What happens when you use the link stylesheets commands in Sigil? |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,717
Karma: 5703586
Join Date: Nov 2009
Device: many
|
You mean inside the head tags not title right? You can not paste a lnk tag inside a title tag. You should be pasting the link tag inside the head tag but not inside the title tag (ie after it)
|
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,621
Karma: 145864263
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The title of the book goes between <title<</title>. See the following correct header code.
Code:
<?xml version='1.0' encoding='utf-8'?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops"> <head> <title>Name of book</title> <link href="../Styles/Style0001.css" rel="stylesheet" type="text/css"/> </head> <body> |
![]() |
![]() |
![]() |
#5 |
attempting author
![]() Posts: 4
Karma: 10
Join Date: Mar 2011
Location: Alberta, Canada
Device: Kobo
|
I'm in code view.
it was doing it even if I pasted the whole thing as a big chapter then used the "split at cursor" option. I'll try the link style sheet. I didn't know that was an option. If I can figure it out. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 837
Karma: 2657572
Join Date: Jan 2017
Location: Poland
Device: Various
|
Link stylesheet from context menu. It will be fine.
![]() |
![]() |
![]() |
![]() |
#7 |
attempting author
![]() Posts: 4
Karma: 10
Join Date: Mar 2011
Location: Alberta, Canada
Device: Kobo
|
I mis understood the directions I was reading. thank you. problem solved, I feel dumb.
it was that I was trying it put it between the <title></title> not between <head></head> |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
css link for Nook | tsavage23 | Nook Developer's Corner | 0 | 10-21-2012 12:47 AM |
iBooks ignoring a:link css style | Alan Newson | ePub | 9 | 03-19-2012 07:49 AM |
Overridng link colour with extra CSS | cyruss | Conversion | 2 | 04-08-2011 07:58 AM |
Adding new chapter, what about CSS link? | spaze | Sigil | 3 | 02-24-2011 05:35 AM |
changing text line-height in css | wjcroft | EPUBReader | 0 | 12-15-2010 03:13 PM |