您可以查看我的问题:如何在文本框后面“发回图像”?
http://i.stack.imgur.com/cGoEU.png
该图像将被覆盖我的登录表单。如何让它移动到文本框&登录按钮后面?
这是我的代码:
<img src="C:\Users\George\Documents\HTML\My Local Soccer\pics\icons\gradient box.gif"
style="position:absolute; top: 155px; left: 480px; width:auto; height:auto;">
<input type="text" class="tb7" value="Username" style="margin-left: 563px"
maxlength="20" onfocus="if(this.value == 'Username') {this.value='';}" />
</br>
<input type="text" class="tb8" value="Password" style="margin-left: 563px;"
maxlength="20" onfocus="if(this.value =='Password') {this.value='';}"/>
<input type="image" height="25px" width="67px" style="vertical-align:top;"
src="C:\Users\George\Documents\HTML\My Local Soccer\pics\icons\sign in.gif" />
你想用图像做什么? – codingbiz 2012-07-15 01:43:44
哎,我想知道是否有人会在'form'或其他包含元素上提及'background-image'?没关系,'img'没有被正确包含在源代码中(在SO的标记中)。 – 2012-07-15 01:46:18