By default different web browser renders the HTML <input type="file"> differently, also if you try to style them with the CSS properties it doesn't work. But, you can use the CSS opacity and position property in combination with the jQuery change() method to create your own HTML custom file upload form control that is consistent across the browsers.
Let's take a look at the following example to understand how it basically works:
Use the CSS Opacity and Positioning method
By default different web browser renders the HTML
<input type="file">differently, also if you try to style them with the CSS properties it doesn't work. But, you can use the CSSopacityandpositionproperty in combination with the jQuerychange()method to create your own HTML custom file upload form control that is consistent across the browsers.Let's take a look at the following example to understand how it basically works:
need an explanation for this answer? contact us directly to get an explanation for this answer