1、插入样式(名称:bgimg)
<
title
>
无标题页
</
title
>
< style type = " text/css " >
.bgimg ... { BACKGROUND-IMAGE: url(00.gif) }
</ style >
< style type = " text/css " >
.bgimg ... { BACKGROUND-IMAGE: url(00.gif) }
</ style >
2、TextBox中应用样式。并设置文字间距style="line-height:26px"。
<
asp:TextBox ID
=
"
TextBox1
"
runat
=
"
server
"
Height
=
"
500px
"
Rows
=
"
10
"
TextMode = " MultiLine " Width = " 100% " CssClass = " bgimg " style = " line-height:26px " ></ asp:TextBox >
TextMode = " MultiLine " Width = " 100% " CssClass = " bgimg " style = " line-height:26px " ></ asp:TextBox >