title: Centering position:absolute div within parent position:relative div
body: <p>Re: <a href="http://jsfiddle.net/WdGdd/3/" rel="nofollow">http://jsfiddle.net/WdGdd/3/</a></p>
  
  <p>Is it possible to center a position:absolute div in its parent position:relative div?</p>
  
  <p>The idea is to make a button whose text is one of two values. Its width stays the length of the whichever value is longer. When the shorter of the two values is being displayed, the text is centered in the button. I don't want to specify any widths in px.</p>