全球主机交流论坛

标题: 万能的hostloc,这个搜索框怎样改成透明的? [打印本页]

作者: 单手摘月    时间: 2012-3-3 11:49
提示: 作者被禁止或删除 内容自动屏蔽
作者: ali727    时间: 2012-3-3 11:54
有难度,除非不想兼容IE6
作者: 单手摘月    时间: 2012-3-3 11:55
提示: 作者被禁止或删除 内容自动屏蔽
作者: geyunbing    时间: 2012-3-3 12:06
提示: 作者被禁止或删除 内容自动屏蔽
作者: hackfengl    时间: 2012-3-3 12:10
CSS控制 别用table了
作者: 单手摘月    时间: 2012-3-3 12:20
提示: 作者被禁止或删除 内容自动屏蔽
作者: Wind    时间: 2012-3-3 12:25
css不是有border属性吗
作者: 单手摘月    时间: 2012-3-3 12:31
提示: 作者被禁止或删除 内容自动屏蔽
作者: 失足大叔    时间: 2012-3-3 12:35
background:white
作者: miniloop    时间: 2012-3-3 12:38
  1. <form target="_blank" method="get" action="http://s.baidu.**/client.asp">
  2. <table style="border: 0px ;width:0px;text-align:center" align="center" border="0" cellpadding="0" cellspacing="0">
  3. <tr>
  4.   <td nowrap style="padding-bottom:6px;padding-top:6px">
  5.   <input style="width:100px; background:none" name="search" type="text" value="度娘一下" onmouseover="this.focus()" onblur="if (value ==''){value='度娘一下'}" onfocus="this.select()" onclick="if(this.value=='度娘一下')this.value=''">   
  6.   <input style="line-height:130%;height:18px;width:30px" value="搜索" type="submit">
  7.   </td></tr></table></form>
复制代码

作者: miniloop    时间: 2012-3-3 12:39
<input style="width:100px; background:none"

加上红色部分 那个文本框就是背景透明了!!
作者: miniloop    时间: 2012-3-3 12:41
其实你肯定还要去掉文本框的边框的

<input style="width:100px; background:none; border:none"


作者: 单手摘月    时间: 2012-3-3 12:47
提示: 作者被禁止或删除 内容自动屏蔽
作者: wvidc    时间: 2012-3-3 12:52
10#给力




欢迎光临 全球主机交流论坛 (https://mjj.022333.xyz/) Powered by Discuz! X3.4