I have one problem, i wan't to add image and vertical center align image. This looks like this Link
I wan't to look like this: Link
My code:
<style>
* {
margin: 0;
padding: 0;
border: none;
outline: none;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
.img {
width: 32px;
height: 32px;
border-radius: 50%;
}
p {
display: inline-block;
}
</style>
<img src="./image.jpg" class="img"> <p>Test</p>
I tried this, but is there some better way to fix this problem?
p {
display: inline-block;
margin-bottom: -1.76em;
}