Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 07-19-2012, 09:10 AM   #16
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
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.
Toxaris is offline   Reply With Quote
Old 07-19-2012, 09:31 AM   #17
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,577
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Toxaris View Post
Probably some autocorrection going on.
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.
DiapDealer is offline   Reply With Quote
Advert
Old 07-20-2012, 08:04 AM   #18
Kratos
Connoisseur
Kratos began at the beginning.
 
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>
But i need to use replace the image reference with this
Code:
<div class="group5">
<img src="images/E4404%20HT_fmt.jpeg" alt="website icon" />
</div>
However I've tried several different to blend the second code with the hyperlink and none work. Any ideas please?
Kratos is offline   Reply With Quote
Old 07-20-2012, 11:02 AM   #19
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
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>
But I have never been able to make an image link work in an Adobe-based reader.
Jellby is offline   Reply With Quote
Old 07-23-2012, 11:14 AM   #20
Kratos
Connoisseur
Kratos began at the beginning.
 
Posts: 60
Karma: 10
Join Date: Mar 2011
Location: UK
Device: Kindle 3, iPhone, iPad, PC
Smile

Thank you Jellby -that's great!
Kratos is offline   Reply With Quote
Advert
Reply

Tags
div, epub validation


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 04:25 AM.


MobileRead.com is a privately owned, operated and funded community.