![]() |
#16 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Glad that it does work and reports an error. It reminds me of a thread some weeks ago about a stylesheet which didn't give an error upon validation and everyone agreed that it was the stylesheet. I ran it through the validation and got the error alright.
Probably some autocorrection going on. |
![]() |
![]() |
![]() |
#17 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,341
Karma: 203719646
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Yep. It was definitely the built-in, well-formed code check of Sigil's. It's usually quite vocal about most issues when it's turned on; so its silent corrections threw me for a bit of a loop.
![]() Anyway... glad it's sorted. I assumed from the beginning (as did everyone else, of course) it was invalid xhtml, but couldn't understand why it kept passing numerous validation engines in spite of my assumptions. |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Mar 2011
Location: UK
Device: Kindle 3, iPhone, iPad, PC
|
Thank you Jellby for your solution and everybody else. Playing around with the html, when not driving me crazy, I found to be almost fun!
Just one more quick question, related to divs not being allowed inside spans. I have a couple of images that I want to act as hyperlinks when touched. The default code I get in my epub is this Code:
<p class="body"><span class="body" style="font-size:0.86em;"><br/></span><a href="http://www.mywebexample.com"><span class="body" style="font-size:0.86em;"><img class="image" width="7%" src="images/E4402%20FB_fmt.jpeg" alt="E4402%20FB.png"/></span></a></p> Code:
<div class="group5"> <img src="images/E4404%20HT_fmt.jpeg" alt="website icon" /> </div> |
![]() |
![]() |
![]() |
#19 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Code:
<div class="group5"> <a href="http://www.mywebexample.com"><img src="images/E4404%20HT_fmt.jpeg" alt="website icon" /></a> </div> |
![]() |
![]() |
![]() |
#20 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Mar 2011
Location: UK
Device: Kindle 3, iPhone, iPad, PC
|
![]()
Thank you Jellby -that's great!
![]() |
![]() |
![]() |
Advert | |
|
![]() |
Tags |
div, epub validation |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Epub validation error | Pixie25 | ePub | 13 | 09-18-2012 09:39 AM |
epub validation error | adetutuijose | ePub | 12 | 01-14-2012 10:05 PM |
Epub Validation Error | DTurner | ePub | 6 | 09-12-2011 05:13 PM |
Help with EPUb validation and closing tags | book24 | ePub | 1 | 05-24-2011 05:16 PM |
epub validation error | sassanik | Sigil | 19 | 12-08-2010 05:46 AM |