input.file样式修改
2024-08-25 08:41:19
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<style type="text/css">
.input_text{width:250px;}
.input_file{width:300px; margin-left:-300px; filter:alpha(opacity=0); opacity:0;}
</style>
html部分:
<body>
<form method="post">
<input class="input_text" type="text" id="txt" name="txt" />
<input type="button" value="浏览" />
<input class="input_file" size="30" type="file" onchange="txt.value=this.value" />
</form>
</body>
最新文章
- iOS开发 代码 或 <;Home+Power>;截屏
- eclipse如何优化构建的速度(Building)
- WebDriver 页面等待
- mybatis 参数问题
- ASPxGridView中DetailRow的使用
- 自定义web浏览器(五)
- 1-了解Python
- Android app自动化测试之Python+Appium环境搭建
- yum 配置详解(转发)
- 传统的MVC模式
- 数据库设计的误区—>;CHAR与VARCHAR
- android调用系统相机
- DISPLAY变量和xhost(原创)
- python简单爬虫 用lxml库解析数据
- 【HDFS API编程】jUnit封装-改写创建文件夹
- BIOS备忘录之x86硬件编程(寄存器与IO)
- 零基础学习python_爬虫(53课)
- yii2.0 添加组件baidu ueditor
- &#39;Agent XPs&#39; component is turned off as part of the security configuration for this server
- 安装中文输入法 ubuntu shortcut desktop
热门文章
- poj1019(打表预处理+数学)
- Mysql 5.7 弱密码限制,及创建用户无密码用户
- word2vec详解与实战
- goto,void,extern,sizeof分析
- Git 分支 - 分支管理
- ACM-ICPC 2018 沈阳赛区网络预赛 J. Ka Chang(树状数组+分块)
- ATM取款机系统代码及此次作业感受
- Shell脚本break和continue命令
- WEB框架Django之中间件/缓存/CBV/信号
- go语言使用go-sciter创建桌面应用(三) 事件处理,函数与方法定义,go与tiscript之间相互调用