/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
margin-top: expression((parentNode.offsetHeight - this.offsetHeight)<0 ? "0" : (parentNode.offsetHeight - this.offsetHeight)/2 + "px");
URL: pokrovskii.com