I am trying to position the elements using 'absolute' and 'relative' in CSS, I am also using 'padding' and 'margin' to position but my entire card elements is messed up. here is the code:
- relative
- absolute
- margin
- padding
.side3_style {
padding-left: 15px;
}
.side3-dp img {
position: relative;
display: inline-block;
top: 4px;
height: 40px;
width: 40px;
cursor: pointer;
border-radius: 50px;
margin-right: 15px;
float: left;
}
.side3-info {
display: inline-block;
top: 4px;
}
.side3-name {
font-family: 'Open Sans', Sans-serif;
font-size: 14px;
color: #3b3b3b;
font-weight: bold;
cursor: pointer;
}
.user3-time {
font-family: 'Open Sans', Sans-serif;
font-size: 10px;
color: #9D9D9D;
}