Safari textbox issue

I need to change "no file selected" to "No file selected"

in Safari browser . This is fine in Chrome and Firefox. How to fix it. Check out the image in the screenshot. enter image description here...

+3


source to share


1 answer


If it's not borken, don't fix it.

There is nothing to fix here. It works as designed. The controls show what the browser vendor has planned and what the users of that browser expect. In their preferred language. Don't try to mess with it. HTML doesn't give you what you want, but what the user needs. CSS can also help you so far.



You can hide the control and create your own control based on this using client side scripting. But I highly recommend against this, because it might not work reliably, if at all. I tried.

You will also need to do i18n - do you speak the preferred language of all your target users?

+3


source







All Articles