I want something like this
button1 button2
but the problem is I can't set fixed width for the text within the button because it could be dynamic. And inline-block doesn't wor in my case?
<p><span class="btn">Reveal Identity</span><span class="btn">View similar candidates</span></p>
`). When you float an element, it is outside of the document flow and the rest of the content flows around it. Inline-block does not; document continues to flow as normal.
– Patrick Moore Feb 09 '14 at 04:58