Joined August 2013
·
Posted to
CSS, center elements with varying width and height
over 1 year
ago
Thanks! I'm glad it can be of use.
Posted to
SSH: Simple CLI function to add keys to server.
over 1 year
ago
Thanks! Yes, ssh-copy-id
is much more robust.
Achievements
146 Karma
7,430 Total ProTip Views
Altruist
Increase developer well-being by sharing at least 20 open source projects
Forked
Have a project valued enough to be forked by someone else
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Mongoose
Have at least one original repo where Ruby is the dominant language
Cub
Have at least one original jQuery or Prototype open source repo
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: