<!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>
<style>
a.fl {position:relative;overflow:hidden;display:inline-block;color:#005197;text-decoration:underline;vertical-align:bottom;*vertical-align:auto}
a.fl input {position:absolute;right:0;top:0;height:100px;opacity:0;filter:alpha(opacity=0);cursor:pointer;cursor:hand}
a.fl:hover {color:#f65100}
</style>
</head>
<body>
<a class="fl">上传图片<input type="file" οnchange="alert(this.value)" /></a>
</body>
</html>