Home › Forums › CSS › Relative-problem › Reply To: Relative-problem
November 21, 2016 at 3:05 am
#248057
Participant
Inline elements inside a block level element will add an empty line. Or something like that, there’s probably a better description. Anyway, you can use this to get rid of it (giving absolute position already adds it automatically for the others):
.image:first-of-type {
position: relative;
display: block;
}