View Single Post
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