You need to sign in to do that
Don't have an account?
![Sander | SSC-Recruitment Sander | SSC-Recruitment](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
inputfile style button
Hi!
I am very new to Visualforce and Apex and have recently created a VisualForce form to replace web-to-case and enable attachment uploading. It all seems to work, but I have no idea how to add style to the button. Any suggestions on that maybe?
![User-added image](/forums/servlet/rtaImage?eid=9060G000000MPnv&feoid=Body&refid=0EM0G000000J4CV)
![User-added image](/forums/servlet/rtaImage?eid=9060G000000MPnv&feoid=Body&refid=0EM0G000000J4Ca)
I am very new to Visualforce and Apex and have recently created a VisualForce form to replace web-to-case and enable attachment uploading. It all seems to work, but I have no idea how to add style to the button. Any suggestions on that maybe?
You can style your button like this:
Thanks.
All Answers
You can style your button like this:
Thanks.
VF / HTML part: OR CSS Part: Result:
My original answer on Salesforce Stack Exchange can be found here (https://salesforce.stackexchange.com/a/271292/28500).