Jump to content

File Input Sizing


MinusMyThoughts

Recommended Posts

i'm using a basic class "w360" that looks like this: .w360 {width:360px;}...i'm sizing all of my form entities with it, which hasn't caused me any problems yet, except with the <input type="file"> tag. in IE, it's working just fine, but with FF it's simply not recognizing that attribute......is there a way to give a file input a fixed width that works in all browsers?...thanks for your help!love,jason

Link to comment
Share on other sites

...is there a way to give a file input a fixed width that works in all browsers?
I remember seeing a hack somewhere that involved hiding the file input in a layer behind other form elements and then using javascript to make it act like a file input.The problem is that it currently isn't possible to style the file input element.Here's a link that might explain the hack for you: http://www.quirksmode.org/dom/inputfile.html
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...