View Full Version : Adding external links to audio for iBooks


nihonjon
07-23-2010, 03:49 AM
Anyone have experience with this?

My iBook passes normally but when I added the line:

<a href="url/file.mp3"><img src="images/play.png" alt="playbutton" /></a>

I get the error "element "a" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context".

nihonjon
07-23-2010, 05:26 AM
Ran it through the w3c validator and realized I didn't have this inside a <p>. :thanks:

charleski
07-23-2010, 05:29 AM
Put the <a> tag inside a <div> block.