Survey Form project- textbox

Hi,
Can anyone review my CSS code on input for name, email, age, and comments? The textbox won’t stay within the form, while the other labels have no issue.

Here’s my code:

Thank you!

If I change your width (for the inputs) to auto, everything fits in the form bounds.

As an aside: You should learn to use the developer tools on chrome or Firefox as it will help you see how each element is picking its style attributes. Also I strongly suggest that you format your code (you can use an editor like atom to indent your lines neatly so they are readable and easier to debug).

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