jquery - Why wont my div vertical-align? -
i've literally metaphorically looked everywhere , still can't seem make work..
i programming on microsoft edge looked fine, , worked fine.. when uploaded , people started using chrome, firefox etc... this:
here's code i'm using align it:
position: relative; top: 50%; -webkit-transform: translatey(-50%); -ms-transform: translatey(-50%); transform: translatey(-50%);
and here jsfiddle better overview of i'm doing: http://jsfiddle.net/wc1f8ewd/
(edit) click on cod logo or league logo see problem
for vertical-align trick work, need specify height of container. add:
.cod-main, .league-main { height: 100%; }
Comments
Post a Comment