能否给文本框,或者文本域增加背景色或者背景图,代码怎么写,写在哪里?

hxf3591126 2004-04-09 04:02:45
rt
...全文
127 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
hxf3591126 2004-04-12
  • 打赏
  • 举报
回复
背景色经过测试,可行的。
背景图片无法实现!
有没有高手了啊,再来帮忙啊!
谢谢以上朋友帮忙!

GoodyeahApple(胡萝卜汁) :
backgroundColor="#ffffff";
在background和color之间一定要加“-”,否则无法实现!
threezxw 2004-04-12
  • 打赏
  • 举报
回复
背景色可以
图片不太了解
xzq686 2004-04-12
  • 打赏
  • 举报
回复
背景色可以,背景图片可能不行
<input type="text" style="background-color:#f00;color:yellow;font-size:11pt">
<input type="text" style="background-image: url('a.jpg')">
qyjiswgog 2004-04-12
  • 打赏
  • 举报
回复
哦。。。。慢了
上面的得行
GoodyeahApple 2004-04-12
  • 打赏
  • 举报
回复
<input type=text style="backgroundColor="#ffffff";color="#000000";border="#6699cc 1px solid";">
<textarea style="backgroundColor="#ffffff";color="#000000";border="#6699cc 1px solid";"></textarea>
ken1 2004-04-12
  • 打赏
  • 举报
回复
把你看到的那个页面下下来,在dw中选取文本框,或者文本域,就能看到代码,就是style后头的那些~~~~
hxf3591126 2004-04-12
  • 打赏
  • 举报
回复
具体一点,兄弟
会我就不来问了!
renniliao 2004-04-12
  • 打赏
  • 举报
回复
用css样式来做

28,404

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧