.josh Posted January 4, 2007 Share Posted January 4, 2007 okay this may be a really dumb question, but in a form when you have [code]<input name="file" type="file" />[/code]is there some attribute you can add, keyword, style, something to make it show the browse button on the left side of the input field? Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted January 5, 2007 Share Posted January 5, 2007 NOPE!!!! lol they are rendered by the browsers - you can use style teh button via setting class of teh input and doing yoru magic in teh css but the button stays where teh browsers wants to put it.(unless you are a js wiz - then you could hide the file input use js to show a button and a text box. the button opens up a file explorer and the text box takes teh path value. then set teh value of teh hidden file input to that) Quote Link to comment Share on other sites More sharing options...
.josh Posted January 5, 2007 Author Share Posted January 5, 2007 i don't suppose i could get that in the english version? Quote Link to comment Share on other sites More sharing options...
fenway Posted January 5, 2007 Share Posted January 5, 2007 You could probably shrink the browse button away, then have another "button" trigger the file button's onclick, perhaps. Quote Link to comment Share on other sites More sharing options...
.josh Posted January 5, 2007 Author Share Posted January 5, 2007 mm...ah..well i guess that's my only option then. i thought so. I was just making sure that i wasn't just missing some simple flag or attribute or something. thx. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.