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:

vertical align not working (left side of image)

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

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -