![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Apr 2011
Device: Sony, iPad
|
use of strike-through...?
Evenin'!
![]() I'm putting together an ePub in Sigil and there is one word in the entire novel that has a strike-through and it's causing the book to fail validation: ERROR: Roil_fin.epub/OEBPS/Text/Section0029.xhtml(361): element "s" not allowed anywhere; expected the element end-tag, text or element "a", "abbr", "acronym", "applet", "b", "bdo", "big", "br", "cite", "code", "del", "dfn", "em", "i", "iframe", "img", "ins", "kbd", "map", "noscript", "ns:svg", "object", "q", "samp", "script", "small", "span", "strong", "sub", "sup", "tt" or "var" (with xmlns:ns="http://www.w3.org/2000/svg") I'm at a loss... It's within <div> and <i> brackets and I just dunno how to make it valid. Sigil even has a strike-through button so I assumed (yeah, I know...) that it would be fine... ![]() Any help? |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Apr 2011
Device: Sony, iPad
|
Just checked and the <del> tag does the trick and the epub has validated. Sorted.
|
![]() |
![]() |
![]() |
#3 |
Booklegger
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
|
The <del> tag must be one of the least used - I don't ever recall noticing it. Thanks for coming back and pointing it out.
|
![]() |
![]() |
![]() |
#4 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
or you could use <span class="strike"> with an appropriate CSS definition (text-decoration: line-through).
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
HELP: any way to use a strike-out font when editing posts? | nrapallo | Feedback | 7 | 03-03-2011 03:23 PM |
Free Book (Kindle) - Strike Zone | koland | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 09-15-2010 03:40 AM |
A Wee Bit O' Fiction: A MobileRead [strike]Abomination[/strike] Collaboration | vivaldirules | Writers' Corner | 37 | 02-14-2010 05:18 PM |
text strike-out code? | europas_ice | Feedback | 4 | 02-25-2009 12:17 PM |