0
Probably Voce set width to 100% so try adding:
input {
outline: 0;
margin: 0;
box-sizing: border-box !important;
}
And if you still don’t use a reset:
* {
margin: 0;
padding: 0;
}
0
2
Probably Voce set width to 100% so try adding:
input {
outline: 0;
margin: 0;
box-sizing: border-box !important;
}
And if you still don’t use a reset:
* {
margin: 0;
padding: 0;
}
That doesn’t answer the question.
I know you don’t answer but I can’t answer without more details and I can’t comment.
Then wait to have enough reputation to make comments.
And as I do?
Asking questions or answering, respecting the rules. As you participate, you gain reputation.
editei reconsider the vote.
I will reconsider to encourage you. Try to answer without relying on assumptions. The question requires more information for a good answer.
Worse than I don’t know how to cancel.
0
Good evening. It’s normal for this kind of thing to happen, especially with inputs. Normally, we have to define his style at hand, to be both aesthetically better, as in the matter of bugs and etc... In your case, just decrease the width of the element to the one that best suits your taste.
So maybe that solves your problem:
input {
font-size: 16px;
margin-bottom: 20px;
border-radius: 5px;
border: 1px solid #ccc;
position: relative;
width: 90%; /* Esta será a alteração que fará a diferença */
}
Browser other questions tagged css css3 input
You are not signed in. Login or sign up in order to post.
You can use the question body to describe the problem as well. The title is another summary that will serve for community organization. Take advantage when you are [Edit] and add the HTML code too, but first do the [tour].
– Woss
Probably the width of
input
is overtaking the area where they are. Try adding amax-width: 95%;
in this css that you reported.– Sam