the following code pushes button right, it's not pushing bottom of page. there way (without using css preferrably):
haml file:
%button(style="float: right; padding: 5px; margin: 0; font-family: 'helvetica neue', helvetica, arial.....)
if html this
<div class="outer"> <button type="button" class="inner-button">click here</button> </div>
you can write css make appear @ bottom right corner this
.outer { position: relative; } .inner-button{ position: absolute; bottom: 0; right: 0; /*any other css related button*/ }
this keep button @ right bottom of page.
hope helps!
Comments
Post a Comment