There are some posts such as here that say you can set
display: inline-block
to the parent, but this did nothing useful for me. The dimensions were then 0px by 0px.
Here is the HTML
<div id='si'>
<p id='si_but' class='si_match blue_but radius_all small_white'>SignIn</p>
<p id='si_cov' class='si_match opaque_but radius_all small_dark'>SignIn</p>
</div>
Here is the CSS
#si{
display: inline-block;
position: relative;
}
.si_match{
position: absolute;
line-height: 40px;
padding: 0px 15px;
text-decoration: none;
}
#si_but{
cursor: pointer;
}