MSSql MySql Python javascript PHP java DotNet Ruby Hackme Takeawy Code Twitter Facebook

The house of developers, A website to classify and rank developers

 
 
 
 
Country Rank: 1
World Rank: 3
Profile Viewed: 44365
Points: 55465
16 Oct 2010

Custom File Upload

<div style="background:url(file_upload.png); height:18px; width:18px; overflow:hidden">
<input type="file" name="file" style="cursor:pointer; position:relative; top:-2px; left:-200px; 
filter:alpha(opacity=0); -moz-opacity:0; opacity:0">
</div>
This code uses a 18px by 18px image to upload. If you want to use another image size will probably need to change the top and left position of the input file and make sure it works in all browsers. Translated from Spanish with Google.
Category: HTML
Facebook Share Delicious Share Digg Share Google Buzz Share My Space Share Reddit Share Stumbleupon Share Technorati Share Twitter Share