简体   繁体   English

表单图像未显示

[英]Form images not being displayed

http://croakedslayouts.hol.es/purchase.html My form images aren't being displayed, but when you click where the div is (underneath the short paragraph) it pops up. http://croakedslayouts.hol.es/purchase.html我的表单图像没有显示,但是当您单击div所在的位置(在短段落下方)时,它会弹出。 Anyone know why? 有人知道为什么吗? It may be a fault on my end or it might just be my host. 这可能是我的错,也可能只是我的主人。

I've added z-index: 1; 我添加了z-index: 1; to the CSSbut nothing changed. 到CSS,但没有任何变化。

#name {
    background-image: url(images/form/nameunfocus.png);
    ...
}

Your image is actually named NameUnfocus.png NOT nameunfocus.png (see: http://croakedslayouts.hol.es/images/form/ ). 您的图片实际上被命名为NameUnfocus.png,而不是nameunfocus.png (请参阅: http : //croakedslayouts.hol.es/images/form/ )。 Capital letters matter. 大写字母很重要。

(The reason why it works when you focus on the text box is because the image name provided in the actual form element uses the correct naming convention.) (当您专注于文本框时,之所以起作用,是因为实际表单元素中提供的图像名称使用正确的命名约定。)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM