File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ jQuery inputFileWidth plugin
44Description
55-----------
66The jQuery.inputFileWidth plugin sets the width of an input file element
7- (<input type =" file " / >). Normally this can done with CSS, but the Firefox
7+ (<code > & lt ; input type="file" / & gt ; </ code >). Normally this can done with CSS, but the Firefox
88browser don't support this. This plugin used a workaround to set the width
99also in Firefox. It used the size attribute from the input element to change
1010the width. The calculated size is unfortunately only a approximation to the
@@ -13,6 +13,11 @@ real size, so there can be a deviation of some pixels to the desired size.
1313Usage
1414-----
1515
16- Set all file input elements to a 100% width :
16+ Set the width of all file input elements to 100%:
1717
18- $("input:file").inputFileWidth("100%");
18+ $("input:file").inputFileWidth("100%");
19+
20+ Set all single input elements to a width of 80px:
21+
22+ $("#inputElm").inputFileWidth("80px");
23+
You can’t perform that action at this time.
0 commit comments