-1

I know there are other questions like this but I've tried everything they have suggested. This is a different question.

If I use Input type="file" then I see a dotted outline in internet explorer. enter image description here

a {
outline: 0;
   }

object, embed 
   {
 outline: 0;
     }
 .input[type=file]:focus, input[type=checkbox]:focus, input[type=radio]:focus {
  outline: 0 !important;
   }

The above code is working fine for checkbox, radio button but it is not working for the file type.

Jerold Joel
  • 227
  • 1
  • 9
  • 22
  • try `body * { outline: none; }` and inform the result. – F.NiX Feb 29 '20 at 08:36
  • It is not working @F.NiX – Jerold Joel Feb 29 '20 at 08:56
  • Which version of the IE browser you are using for making this test? I test with the IE 11 and I found that mostly it is working fine without showing the dotted outline. It is just showing an outline on the 'Browse' button when using TAB key to move to the next element. see here: https://imgur.com/a/KWHxk2l Helpful reference: https://stackoverflow.com/questions/12007507/how-to-remove-dotted-border-around-the-link-in-ie7 – Deepak-MSFT Mar 02 '20 at 02:19
  • I am also using IE 11 – Jerold Joel Mar 09 '20 at 07:14

0 Answers0