Home › Forums › CSS › Not all centered wrappers center their children › Reply To: Not all centered wrappers center their children
May 8, 2016 at 2:59 pm
#241374
Senff
Participant
Because the contents of .wrap are all in a UL with class “gallery”, and this is your CSS for that, where you specifically state text should be justified:
.gallery li {
font-size: 1.33rem;
text-align: justify; /* <--- over here! */
padding: 10px;
line-height: 1.5;
margin-top: -5px;
}