【发布时间】:2011-11-07 07:09:07
【问题描述】:
我正在构建一个用于丹麦语听写练习的系统,特别是针对 iPad。 到目前为止,我一直在 gnome 中进行测试,页面看起来还不错,但是当我终于拿到 iPad 时,出了点问题。
我正在用这样的声音构建可点击的句子:
<audio id="audiotag6" src=diktat02/gaaet.m4a preload="auto"></audio>
<a href="javascript:play_sound('audiotag6');">The sun had <input type="text" name="word6" autocomplete="off"/> ned, </a>
<audio id="audiotag7" src=diktat02/koelig.m4a preload="auto"></audio>
<a href="javascript:play_sound('audiotag7');"> and the air was <input type="text" name="word7" autocomplete="off"/> klar, </a>
在 chrome 和 IE 中,文本看起来很好:
太阳有[输入框],空气有[输入框]
但在 iPad 上,它看起来像是在 "a href=":
的每一行之前插入了一个 [tab] The sun had [ input box ] and the air was [ input box ]
这是我第一个有主页的大项目,这个问题对我来说是一个很大的挫折,因为整个想法是让它在 iPad 上工作 - 请帮助..
【问题讨论】:
-
莫名其妙地是“ned”和“klar”吗?还是您的示例中的错字?
-
在元素内输入元素aren't allowed。