1:text
(1)设置为只读
<input type="text" readonly="true" id="text" value="本文本框只能进行读取">
2:div
(1):边框宽度、颜色设定
<div style="border:1 solid red;width:100">hello</div>
注意:1后面没有单位px,如果加上,则会出错。
(2):边框详解
1:text
(1)设置为只读
<input type="text" readonly="true" id="text" value="本文本框只能进行读取">
2:div
(1):边框宽度、颜色设定
<div style="border:1 solid red;width:100">hello</div>
注意:1后面没有单位px,如果加上,则会出错。
(2):边框详解