rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: Guest on June 22, 2008, 11:16:38 PM

Title: Upload Form
Post by: Guest on June 22, 2008, 11:16:38 PM
 In looking through the 186 template I'm unable to
find the "Browse..." (depending on the browser) buttons for the upload form.
 I'd like to add style to these to match the rest of my template.
Can anyone help? An example of the code maybe?
Thanks
Title: Re: Upload Form
Post by: rejetto on June 23, 2008, 07:56:54 AM
the browse button is embedded in the <input type='file'>
to be honest, i tried quickly to make any change to that button, and found no way.

about adding style, i can suggest you to read this comment in the default template
Quote
Thanks to the following line, you can customize the appearance of the original template by
right click on the root -> advanced -> diff template
then type [style.user] followed by all the CSS commands you want.
This way you will stay up to date while the original template improves.

i just noticed this trick doesn't apply to all the pages like the upload page, but just to those for browsing.
i will correct this in next build.
Title: Re: Upload Form
Post by: Guest on June 23, 2008, 02:07:02 PM
Thanks for the reply.
I assumed some of the template builders would have a solution?
I find <input name= but not <input type='file'>?
 I can apply style to the "Upload" button, just not the "Browse...."
Style applied to [upload-file] doesn't change the button.
I'm using my own version of the template and linking my remote css
to all sections that require it.
 I'll try to rewrite the [upload-file] section to specify the button for the form
and see what happens.
Title: Re: Upload Form
Post by: rejetto on June 23, 2008, 07:34:22 PM
search for type=file
and you will find it.

i hope someone will help you, but a solution may even not exist.
Title: Re: Upload Form
Post by: TSG on June 24, 2008, 01:10:22 PM
I do not think it is possible to change the style of the button in one of those fields.
Title: Re: Upload Form
Post by: Guest on June 24, 2008, 03:56:41 PM
By TSG
Quote
I do not think it is possible to change the style of the button in one of those fields.
I haven't had any luck, nor have my searches for examples.
Thanks everyone.
Title: Re: Upload Form
Post by: mysoogal on September 08, 2009, 08:01:40 PM
Styling an input type="file"

http://www.quirksmode.org/dom/inputfile.html

it should work ,

120 days after ! reply posted
Title: Re: Upload Form
Post by: rejetto on September 16, 2009, 09:43:36 AM
nice, thanks for sharing