Step 57 Forms by Building a Registration Form

Step 57

Most browsers inject their own default CSS properties and values for different elements. If you look closely, you might be able to notice the file input is smaller than the other text input elements. By default, a padding of 1px 2px is given to input elements you can type in.

Using another attribute selector, style the input with a type of file to be the same padding as the other input elements.


.file{padding:1px 2px;}


Sorry, your code does not pass. Hang in there.


You should use an attribute selector to style the input element.

I am not sure what I am doing wrong here.

Hello and welcome to our community!
Would you please share your code here ? Nobody can say what’s going on without studying that!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.