搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

View of browse button on Firefox is not good

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