input is inside the fildset tag, but is cutting the line

Asked

Viewed 67 times

0

o input esta dentro da tag fildset, mas esta cortando a linha

input {      
    font-size: 16px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    position: relative;
}
  • 2

    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].

  • Probably the width of input is overtaking the area where they are. Try adding a max-width: 95%; in this css that you reported.

2 answers

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.

Show 3 more comments

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.

  • Note that when changing the INPUT attribute, they will all have the same dimensions.

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

You are not signed in. Login or sign up in order to post.