Joined August 2013
·

Jon Lunsford

Developer at Kadenze
·
San Luis Obispo, Ca
·
·
·

Unfortunately this exact solution will not work in < IE9, however you could implement a JS solution for earlier versions of IE.

If you know the width of your element you could use the "negative margins" technique:

.my-element {
    position: absolute;
    width: 200px;
    height: 200px;
    left: 50%;
    top: 50%;
    margin: -100px 0 0 -100px
}

Thanks! I'm glad it can be of use.

Thanks! Yes, ssh-copy-id is much more robust.

Achievements
146 Karma
7,076 Total ProTip Views