How can I make a float button only in a div area?
Here is my css and html example ..
HTML
<div class='test'> <div style='float: left;'> <button>test</button> </div> <div style='float: right;'> <button>test</button> </div> </div>
CSS
.test { width:60%; display:inline; overflow: auto; white-space: nowrap; margin:0px auto; }
or you can see a live sample here → http://jsfiddle.net/ELAVS/
I want this to be so.

source share