rejetto forum
Software => HFS ~ HTTP File Server => HTML & templates => Topic started 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
-
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
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.
-
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.
-
search for type=file
and you will find it.
i hope someone will help you, but a solution may even not exist.
-
I do not think it is possible to change the style of the button in one of those fields.
-
By TSG
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.
-
Styling an input type="file"
http://www.quirksmode.org/dom/inputfile.html
it should work ,
120 days after ! reply posted
-
nice, thanks for sharing