in the CSS you can display your 3 graphics of the same height. a small left background graphic to apply to the span.lt, a long middle graphic for the span.mid, and the reverse of the left graphic for the span.rt.
Jquery:
$(document).ready(function(){
$("a.button_lnk").wrapInner("< span class='mid' >< /span >");
$("span.mid").before("< span class='lt' />");
$("span.mid").after("< span class='rt' />");
});
HTML before js
< div id="usernav" >
< a href="/login" class="button_lnk">login< /a >
< a href="/signup" class="button_lnk">signup< /a >
< /div >
HTML after js
< div id="usernav" >
< a class="button_lnk" href="/login" >
< span class="lt"/ >
< span class="mid" >login< /span >
< span class="rt"/ >
< /a >
< a class="button_lnk" href="/signup" >
< span class="lt"/ >
< span class="mid" >signup< /span >
< span class="rt"/ >
< /a >
< /div >