We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

View of browse button on Firefox is not good

  • 8 отговора
  • 1 има този проблем
  • 1 изглед
  • Последен отговор от ravichandra0721

more options

I am using a browse button in my html code, It's workng fine, but on firefox-30 view of my browse button is not good, Can someone help me to fix it in my code??

I am using a browse button in my html code, It's workng fine, but on firefox-30 view of my browse button is not good, Can someone help me to fix it in my code??

Избрано решение

Is it possible that this field is "required" and is being styled by a rule for input:required in your CSS? That's not new in Firefox 30, but maybe it was tweaked (there are hundreds of changes in each release...). Otherwise, it's hard to think of why you would have a ring after using the control and not before.

Прочетете този отговор в контекста 👍 1

Всички отговори (8)

more options

Please find the attachment.

I am using browse button, to upload a file. When I click on upload button with out selecting the file. The view of the button is weird, as shown in the attachment.

Expected: I don't what the red lining around the browse button, when I click on the upload button without selecting the file through browse button.I just want a pop up saying "please select a file".

Note": My browse button is same as "Choose File" button on this forum.

Is there anyway to solve this through my html code or through CSS ?

Thanks in advance.Waiting for a quick reply

more options

Forgot to mention that I am using Firefox . 30.0

more options

Избрано решение

Is it possible that this field is "required" and is being styled by a rule for input:required in your CSS? That's not new in Firefox 30, but maybe it was tweaked (there are hundreds of changes in each release...). Otherwise, it's hard to think of why you would have a ring after using the control and not before.

more options

I am very new to html and web styling . I understood the problem. So as per your reply can you please clarify me whether I can do anything from server side or not ?

Thanks in advance

more options

Yes, I am using this field as "required" in html.but the red border is viewed when I click on the upload button without selecting the file through browse button.If I use:

input:required:focus { border: 0; };

I think , this will act when clicked on the browse button but not when I clicked on upload button.

Note: In the below attachment I am getting the red border around the browse button, when I click on the upload button.but not on the browse button

more options

I don't have experience with this particular set of attributes and style rules, that was just a guess. It would be helpful to have a test case demonstrating the problem (without having to purchase Ooma to test it...). If you use a site like jsfiddle.net, can you replicate the problem?

more options

Thanks. I am able to fix the problem.Your replies helped me to solve the issue.

Thanks once again