---
title: "修改文件上传默认样式"
author: "ctrain"
date: "2012-12-15T17:09:31Z"
tags: []
categories: ["Web前端"]
slug: "untitled"
draft: false
lastmod: "2012-12-25T15:16:31Z"
id: 1748443
url: "https://ctrain.iteye.com/blog/1748443"
---

demo地址：
http://www.appelsiini.net/projects/filestyle/demo.html

```javascript

$("input[type=file]").filestyle({
	image: "<%=path%>/nbp/images/pic/openFile1.png",
	imageheight: 22,
	imagewidth: 82,
	width: 180
});

```

补个效果图：
![](http://dl.iteye.com/upload/attachment/0078/3731/5a4edc1f-5ddc-34a1-905f-ebb43b584a59.png)