html 给text设置背景图片
2014-02-13 09:36
211 查看
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>在Input框中使用背景图片</title>
</head>
<body>
<INPUT class=txtfld1 style="BACKGROUND-IMAGE: url(/jscss/demoimg/wall_s2.jpg); BACKGROUND-REPEAT: no-repeat" size=10 name=name/>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>在Input框中使用背景图片</title>
</head>
<body>
<INPUT class=txtfld1 style="BACKGROUND-IMAGE: url(/jscss/demoimg/wall_s2.jpg); BACKGROUND-REPEAT: no-repeat" size=10 name=name/>
</body>
</html>
相关文章推荐
- 设置EditText背景图片
- [转]怎么把一个textview的背景图片设置成圆角的?
- android textView设置html,解决图片和文字不对齐的问题
- 设置按钮背景图片(HTML-CSS)
- html背景图片设置
- Android TextView背景颜色与背景图片设置
- 使用js获取图片某一点的rgb值,并设置相适应的背景颜色。http://www.zhangxinxu.com/study/201408/rgbaster-js-example.html
- HTML背景图片透明度设置
- [Android开发] 代码code设置9.png/9-patch 图片背景后,此view中的TextView等控件显示不正常(常见于listview中)
- [Android开发] 代码code设置9.png/9-patch 图片背景后,此view中的TextView等控件显示不正常(常见于listview中)
- 代码code设置9.png/9-patch 图片背景后,此view中的TextView等控件显示不正常(常见于listview中)
- 关于设置背景图片的透明度(html+css)
- HTML中通过CSS设置背景图片自适应浏览器大小
- TextView字体和背景图片 设置透明度
- TextView设置背景图片为.9.png文字不显示
- [Android开发] 代码code设置9.png/9-patch 图片背景后,此view中的TextView等控件显示不正常(常见于listview中)
- [Android开发] 代码code设置9.png/9-patch 图片背景后,此view中的TextView等控件显示不正常(常见于listview中)
- 在html中,怎么设置背景图片不重复不平铺,只显示一张图片
- CSS设置html网页背景图片 CSS设置网页背景颜色
- 在html中,怎么设置背景图片不重复不平铺,只显示一张图片