Alinha imagem com texto dentro da div (com css)

4 respostas Resolvido
htmlcss
Alexsandro_Andrade

alguém poderia me dizer como eu consigo alinhar uma imagem com o texto dentro da div?

gostaria de alinhar o ícone com o texto dentro da área cinza

codigo

4 Respostas

Mike

Se você postar o código do seu css fica mais facil haha

Alexsandro_Andrade
.cabecalho1{

background-color: rgb(67, 76, 145);

padding-left:20px;

height: 40px;

}
.texto{

font-size: 22px;

color: black;

font-weight: bolder;

text-align: center;

padding-top: 7px;

}

.texto-cabecalho{

background-color: white;

height: 40px;

margin-left: 20px;

margin-right: 85%;

}
.atalhos{

border-width: 0.1px;

border-style: solid;

border-color: rgb(143, 142, 142);

border-radius: 3px;

padding-bottom: 50%;

margin-top: 20px;

margin-left: 20px;

margin-right: 75%;

margin-bottom: 30%;

}
.atalhos-cab{

border-bottom: 5px solid;

border-width: 0.2px;

background-color: rgb(105, 105, 105);

height: 35px;

font-family: Arial, Helvetica, sans-serif;

border-top-left-radius: 3px;

border-top-right-radius: 3px;

}
.teste{
    vertical-align: text-bottom;
}
Mike
Solucao aceita

Na imagem poem vertical-align: middle

Alexsandro_Andrade

ei mike, tu tem Skype?

Criado 10 de abril de 2018
Ultima resposta 11 de abr. de 2018
Respostas 4
Participantes 2