[PHP] FW: A little O T: input type=File -- Can I make a better looking file box?
Hello, I have been working on a php script and lately have been adding style sheets and image submit buttons to make it look better. I have now run into the problem that the input type file looks like a regular form input. I would like to use an image as the browse button and a css for the text box. If I apply a css to the file input it doesn't look right. Does anyone know another way to make a file input with more options on looks? Can I make the browse button an image I make? Thanks for any help Brandon
Re: [PHP] FW: A little O T: input type=File -- Can I make a better looking file box?
I think you want to look at input type=image Brandon Orther wrote: Hello, I have been working on a php script and lately have been adding style sheets and image submit buttons to make it look better. I have now run into the problem that the input type file looks like a regular form input. I would like to use an image as the browse button and a css for the text box. If I apply a css to the file input it doesn't look right. Does anyone know another way to make a file input with more options on looks? Can I make the browse button an image I make? Thanks for any help Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] FW: A little O T: input type=File -- Can I make a better looking file box?
Of course input type=image won't browse the file hierarchy. The truth of the matter is Brandon that it can not be done by conventional means. This is something I investigated a long time ago. There's a whole conversation about this on Deja.com. The only good suggestion is to use some combination of CSS to hide the original button and JAVA to display a new one. Hope this helps some. :) -Kevin - Original Message - From: David Minor [EMAIL PROTECTED] To: Brandon Orther [EMAIL PROTECTED] Cc: PHP User Group [EMAIL PROTECTED] Sent: Wednesday, December 12, 2001 1:48 PM Subject: Re: [PHP] FW: A little O T: input type=File -- Can I make a better looking file box? I think you want to look at input type=image Brandon Orther wrote: Hello, I have been working on a php script and lately have been adding style sheets and image submit buttons to make it look better. I have now run into the problem that the input type file looks like a regular form input. I would like to use an image as the browse button and a css for the text box. If I apply a css to the file input it doesn't look right. Does anyone know another way to make a file input with more options on looks? Can I make the browse button an image I make? Thanks for any help Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] FW: A little O T: input type=File -- Can I make a better looking file box?
oh, you're right. I misread the question. sorry Kevin Stone wrote: Of course input type=image won't browse the file hierarchy. The truth of the matter is Brandon that it can not be done by conventional means. This is something I investigated a long time ago. There's a whole conversation about this on Deja.com. The only good suggestion is to use some combination of CSS to hide the original button and JAVA to display a new one. Hope this helps some. :) -Kevin - Original Message - From: David Minor [EMAIL PROTECTED] To: Brandon Orther [EMAIL PROTECTED] Cc: PHP User Group [EMAIL PROTECTED] Sent: Wednesday, December 12, 2001 1:48 PM Subject: Re: [PHP] FW: A little O T: input type=File -- Can I make a better looking file box? I think you want to look at input type=image Brandon Orther wrote: Hello, I have been working on a php script and lately have been adding style sheets and image submit buttons to make it look better. I have now run into the problem that the input type file looks like a regular form input. I would like to use an image as the browse button and a css for the text box. If I apply a css to the file input it doesn't look right. Does anyone know another way to make a file input with more options on looks? Can I make the browse button an image I make? Thanks for any help Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]