会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
欲速则不达
先用户之优而优,后用户之乐而乐
css对textbox加背景图片与color
<!
DOCTYPE HTML PUBLIC
"
-//W3C//DTD HTML 4.0 Transitional//EN
"
>
<
HTML
>
<
HEAD
>
<
title
>
testtxtbox
</
title
>
<
meta name
=
"
GENERATOR
"
Content
=
"
Microsoft Visual Studio .NET 7.1
"
>
<
meta name
=
"
CODE_LANGUAGE
"
Content
=
"
C#
"
>
<
meta name
=
"
vs_defaultClientScript
"
content
=
"
JavaScript
"
>
<
meta name
=
"
vs_targetSchema
"
content
=
"
http://schemas.microsoft.com/intellisense/ie5
"
>
<
style type
=
"
text/css
"
>
.bgimg
{ BACKGROUND
-
IMAGE: url(images
/
2
.gif) }
</
style
>
<!----
/**/
///
owendu --css对textbox加背景图片与color 的摘要说明。
///
************************************************
///
作者:owendu(阿杜)
///
功能:css对textbox加背景图片与color
///
************************************************
///
-->
</
HEAD
>
<
body MS_POSITIONING
=
"
GridLayout
"
>
<
form id
=
"
Form1
"
method
=
"
post
"
runat
=
"
server
"
>
<
asp:TextBox id
=
"
TextBox1
"
style
=
"
Z-INDEX: 101; LEFT: 120px; POSITION: absolute; TOP: 232px
"
runat
=
"
server
"
TextMode
=
"
MultiLine
"
onmouseover
=
"
this.style.background='url(images/1.gif)'
"
onmouseout
=
"
this.style.backgroundColor='red'
"
Width
=
"
360px
"
Height
=
"
152px
"
></
asp:TextBox
>
<
asp:TextBox id
=
"
TextBox3
"
style
=
"
Z-INDEX: 102; LEFT: 112px; POSITION: absolute; TOP: 48px
"
runat
=
"
server
"
Height
=
"
96px
"
Width
=
"
320px
"
CssClass
=
"
bgimg
"
TextMode
=
"
MultiLine
"
></
asp:TextBox
>
</
form
>
</
body
>
</
HTML
>
posted on
2006-10-17 15:49
asdsd
阅读(
2023
) 评论(
0
)
编辑
收藏
举报
会员力量,点亮园子希望
刷新页面
返回顶部
导航
博客园
首页
新随笔
联系
订阅
管理
公告