4
I have this HTML:
<form action="" method="post">
<input type="text" name="pesquisa" placeholder="O que você procura?"/>
<input type="submit">
</form>
And I have this CSS:
body>header form{
margin:25px 80px;
display:inline-block;
}
body>header form input[type=text]{
padding:8px 50px 8px 20px;
width:300px;
font-family:'Open Sans';
font-size:13px;
border-top:1px solid #C21B13 !important;
border:3px solid #C21B13;
border-radius:20px;
outline:none;
}
body>header form input[type=submit]{ }
My website is like this:
What I want to do? I want to put this send button inside the input.
How do I do it right?
ATT.
It is because in the case I wanted to style the input when it is focused (:Focus) in the case changing the border color, but doing so is only the middle part with the edge, will have another way to put the button inside the input?
– heromax
I was able to figure out the solution... position:Absolute; margin:-20px 240px; But it served me something else your answer :)
– heromax