December 4th, 2003, 03:33 AM
...File Filed & CSS....
Hope all you will fine plz let me know how i can apply style sheel on file field
December 4th, 2003, 04:04 AM
<input type="file" style="border: 1px solid #000000; background: #AAAAAA; color: black; font-family: tahoma; font-size: 8pt; font-weight: bold;">
December 4th, 2003, 04:47 AM
Dear ! thanks yr prompt response i checked yr code i want just change browse button look & feel not a text field.
December 4th, 2003, 04:50 AM
I don't think you can, as they're the same object, so both of them will be formatted together...
December 4th, 2003, 04:54 AM
ok...check below code that is fullfill my requirement but that is not working in netscape,
<input type="file" id="file" style="display:none;" onChange="document.getElementById('output').value = this.value">
<input type="text" name="ivek" id="output" value="none" style="padding-left: 5px; color: #006666; width: 300px;background: #ffffff; font-size: 9pt; font-family: Arial;">
<input type="button" value="Browse..." onClick="document.getElementById('file').click()" style="color: #006666; height: 20px; width: 80px; BORDER-RIGHT: #006666 thin solid; BORDER-TOP: #006666 thin solid;
BORDER-LEFT: #c0c0c0 thin solid;BORDER-Bottom: #c0c0c0 thin solid; background: #EBEBE3; font-size: 11px; font-family: Arial;">
you can check how we can compatible that code with netscape.
December 4th, 2003, 04:58 AM
Sorry, don't have NN installed here to test it on, maybe someone else could have a go...?
December 4th, 2003, 08:48 AM
It works in NN7, don't know about earlier.
December 4th, 2003, 10:52 PM
Hello Dear ! Plz check agian browse button is not working in netscape 7 and let me know any solution.