Home › Forums › CSS › standardizing space between items › Reply To: standardizing space between items
January 11, 2016 at 12:47 pm
#236631
bearhead
Participant
To center the text vertically, I would wrap the P elements in a div, and use the following css:
.book_list div{
display:table;
height:100%;
}
.book_list div p{
margin:0px;
display:table-cell;
vertical-align:middle;
}