Linux常用技巧-同一网卡配置多个IP
2009-07-08 19:19
344 查看
经常浏览网站进出论坛,新闻评论的朋友大都看到过这个漂亮的美化的文本域(Textarea)背景。短短几行代码表达的效果却非常的大,让访客不自觉地就能加深对网站的视觉印象,从而更好地做到宣传的目的,也同时美化了单调的文本域(Textarea)背景。
文本域背景美化(添加文本域背景图片)展示效果代码如下:<style type=”text/css”>
<!–
.textfield {width:450px;height:20px;background-image:url(images/inputbg.gif);color:#666;border:1px dotted #999666;padding:3px 0px 0px 5px;} /*设置标题文本框边框,背景图片及文字颜色*/
.textarea {width:450px;height:120px;background:url(images/logo.gif) no-repeat right top;border:1px dotted #999666; } /*设置留言文本框边框,背景图片*/
–>
</style>
<table width=”510″ border=”0″ align=”center” cellpadding=”0″ cellspacing=”0″>
<tr>
<td><input name=”search” type=”text” id=”search” class=”textfield” onfocus=”if(this.value==’标题’) {this.value=”;}this.style.color=’#333′;” onblur=”if(this.value==”) {this.value=’标题’;this.style.color=’#666′;}” value=”标题” maxlength=”22″/></td>
</tr>
<tr>
<td><textarea name=”textarea” class=”textarea”></textarea></td>
</tr>
</table>
文本域背景美化(添加文本域背景图片)展示效果代码如下:<style type=”text/css”>
<!–
.textfield {width:450px;height:20px;background-image:url(images/inputbg.gif);color:#666;border:1px dotted #999666;padding:3px 0px 0px 5px;} /*设置标题文本框边框,背景图片及文字颜色*/
.textarea {width:450px;height:120px;background:url(images/logo.gif) no-repeat right top;border:1px dotted #999666; } /*设置留言文本框边框,背景图片*/
–>
</style>
<table width=”510″ border=”0″ align=”center” cellpadding=”0″ cellspacing=”0″>
<tr>
<td><input name=”search” type=”text” id=”search” class=”textfield” onfocus=”if(this.value==’标题’) {this.value=”;}this.style.color=’#333′;” onblur=”if(this.value==”) {this.value=’标题’;this.style.color=’#666′;}” value=”标题” maxlength=”22″/></td>
</tr>
<tr>
<td><textarea name=”textarea” class=”textarea”></textarea></td>
</tr>
</table>
相关文章推荐
- linux下常用临时配置ip命令
- linux下一个网卡配置多个ip【虚拟ip】
- Linux多网卡多IP配置记录
- 关于linux Centos 7一个网卡配置多个IP的方法
- linux下多网卡配置同网段IP的问题以及解决方法
- Linux杂谈:解决配置静态ip后eth0网卡启动不了的问题
- Linux 配置ip 子接口 多网卡绑定
- linux下一个网卡配置多个ip
- linux为网卡批量配置连续IP
- linux单网卡上配置双IP
- Linux单网卡多IP配置
- linux配置网卡IP地址命令详细介绍及一些常用网络配置命令
- linux下一个网卡配置多个IP
- linux 一个网卡配置多个IP
- Linux环境下配置虚拟ip,方法1:新增多个子网卡,每个子网卡有独立的配置文件
- Linux环境下配置虚拟ip,方法2:单网卡绑定多IP
- linux系统设置静态IP 查看网卡配置文件
- RedHat 6 下配置网卡IP地址,Virtual Linux下配置网卡IP
- Linux 下配置网卡的别名即网卡子IP的配置
- Linux 单机单网卡配置双IP跨网段访问方法