use layers, put a layer on top of a layer width a custom button (or image)
here is the code:
<html>
<head>
<title>File browse</title>
<style>
.layer1 {
position : relative;
left : 0;
top : 0;
}
.layer2 {
position : absolute;
left : 155;
top : 0;
}
</style>
</head>
<body>
<form>
<span class="layer1">
<input type="file" name="fileInput">
<span class="layer2">
<input type="button" value="new name..."
onclick="document.forms[0].fileInput.click()">
</span>
</span>
</form>
</body>
</html>
Greetz,
Arjan {:-)
-----Original Message-----
From: Percival Bragg [mailto:percivalbragg@y...]
Sent: donderdag 13 december 2001 21:35
To: HTML Code Clinic
Subject: [html_code_clinic] browsing files o client machine
I know I can use the <input type=file> tag to generate a file browse
cntrol on a web page. What I would like to do is change the "browse"
button to a custom image. Failing that how can i generate the same
funtionality as clicking the "browse" button in this control?
$subst('Email.Unsub').