Click to See Complete Forum and Search --> : input type="file"
gert cuykens
01-21-2005, 06:25 PM
how do you make the file browse button in FF look the same as in IE ?
http://www.gert.easynet.be/registration/save.htm
meaning how do you move the file browse input button in FF to the right and remove the white space located right from the browse button ?
ray326
01-22-2005, 10:32 AM
I think you just make sure it's got enough room to fit out there. ?
gert cuykens
01-22-2005, 12:05 PM
it got plenty of room :confused: 250 to be exactly
http://www.quirksmode.org/dom/inputfile.html
gert cuykens
01-22-2005, 12:43 PM
so basicly it says it is impossible :(
css it will remain small
jscript you can not edit the input field
ray326
01-22-2005, 01:01 PM
Here's an upload form off one of my apps. Note the position of the browse button.
gert cuykens
01-22-2005, 01:04 PM
can you still reset the browse field without the reset button :D
also can you change the width ?
ray326
01-22-2005, 01:07 PM
1. No, the element is read-only for security reasons.
2. Yes, that one happens to be 30 chars I think.
gert cuykens
01-22-2005, 01:15 PM
so i guess you used the js css reset solution ?
http://www.quirksmode.org/dom/inputfile.html
ps other question i want to add a 50px margin at the bottum but when i do this is
body{background-color:silver; margin:0px 0px 0px 0px; padding:0px 0px 50px 0px;}
or this
body{background-color:silver; margin:0px 0px 50px 0px; padding:0px 0px 0px 0px;}
it still stops scrolling exactly below the save button ?
The problem is all the position:absolute; elements.
An empty div (position:absolute; height:50px;) could be placed after the save button.
gert cuykens
01-23-2005, 10:04 AM
thx i understand now why it did not work :D
it only would have worked when the div's where relative
Yes, the position:absolute elements are outside their containing element.
Changing the #box height:700px; would have worked.
gert cuykens
01-23-2005, 10:15 AM
i think i am going to do that :D
IncaWarrior
01-23-2005, 10:34 AM
None of those work in Opera