<div>
<button>First button</button>
<button>Dynamically appear button</button>
<div>
I have a div which I want to be centered in two situation when it has one button and when it has 2 buttons. Is there a way to do that ?
I created a fiddle for it http://fiddle.jshell.net/frqo0rsy/ I want that want I show the button the two buttons will be next each other and also centered. I hope its more understood now.