关于一个文本框的设计``请教 我在DreamWeaver上拖了一个文本框``然后我为了使我的文本框`我想使我的文本框的边框是蓝色的,并且没有3D效果``我朋友说用CSS,可是我不大懂`有人能帮忙吗? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 楼主:建立如下样式表文件,如果不会你用记事本写如下:/**INPUT{ border-right: #0000ff thin solid; border-top: #0000ff thin solid; border-left: #0000ff thin solid; border-bottom: #0000ff thin solid;}**/.Myinput{ border-right: #0000ff thin solid; border-top: #0000ff thin solid; border-left: #0000ff thin solid; border-bottom: #0000ff thin solid;} 其中/***/之间的样式,规定页面上所有的input都采用定义的样式Myinput,可以在你需要的里里使用如:<html ><head> <title>Untitled Page</title> <link href="StyleSheet.css" type=text/css rel=stylesheet ></head><body> <table style="width: 339px; height: 115px"> <tr> <td style="width: 3px"> <input type="text" id="mytext" name="mytext" disabled=disabled value="Hello" class="Myinput"> </td> </tr> </table></body></html> 关于CSS的文档网上一搜就有,想要学做网站不会CSS可不行,好好学吧 input中的class 属性就是指定采用那个样式这里里可以任意指定 关于spring中的注入Field值 关于变量的一个小问题 关于语言的问题? 后台JavaBean如何访问前台JSP中的Session,Application信息? log4j小问题,通过马上揭帖 javamail问题 tomcat 连接池配置 lucene索引问题求教 做个动态网页,请教高手 Hibernate 读取bean的配置meta信息,比如表列,精度,PKFK 非空默认等 如何自动刷新JSP页面 指点买书的问题
建立如下样式表文件,如果不会你用记事本写如下:
/**
INPUT
{
border-right: #0000ff thin solid;
border-top: #0000ff thin solid;
border-left: #0000ff thin solid;
border-bottom: #0000ff thin solid;
}
**/
.Myinput
{
border-right: #0000ff thin solid;
border-top: #0000ff thin solid;
border-left: #0000ff thin solid;
border-bottom: #0000ff thin solid;
}
Myinput,可以在你需要的里里使用
如:
<html >
<head>
<title>Untitled Page</title>
<link href="StyleSheet.css" type=text/css rel=stylesheet >
</head>
<body>
<table style="width: 339px; height: 115px">
<tr>
<td style="width: 3px">
<input type="text" id="mytext" name="mytext" disabled=disabled value="Hello" class="Myinput">
</td>
</tr>
</table></body>
</html>
这里里可以任意指定