Home › Forums › CSS › vertical centering doesn't work for element › Reply To: vertical centering doesn't work for element
October 21, 2013 at 3:31 am
#153589
Tomasz Lisiecki
Participant
You don’t really need a table
at all to achieve it…
Remove
height:50px;
width:30%;
from legend
and then adjust the element’s height by padding
and/or line-height