1
I have the following form:
<form id="formFrete" action="?" method="post">
<input type="hidden" name="acao" value="calculaFrete" />
<div style="float:left;">
<label class="labelPequeno">CEP:</label>
<input pattern="[0-9]{2}[.][0-9]{3}[-][0-9]{3}" type="text" class="typeTextPequeno" id="cep" name="cep" value="<?php echo $cep; ?>" required />
</div>
<div style="float:left; width:10px;"> </div>
<div style="float:left;">
<input type="submit" value="Calcular Frete" class="btnPesquisa" />
<a href="http://www.buscacep.correios.com.br/sistemas/buscacep/" target="_blank">Não sei o CEP</a> </div>
</form>
He looks like this:
But when it puts resolutions below 860px
including, I would like the botões
"Calcular Frete"
and the "Não sei o cep"
, behaved as bloco
.
I’m doing like this:
@media screen and (min-width: 0px) and (max-width:860px) {
form#formFrete div {
float:none;
}
}
Where am I going wrong?
try for a clear:
– Jasar Orion
worked out, thanks
– Carlos Rocha