html - Set buttons at the rightmost part of the page -
sorry if such simple question i'm having hard time when comes css , stuff that.
so question how put these 2 buttons @ rightmost part. that.
here code:
echo "<div class='container table-responsive'> <table style='width:100;'> <tr> <td align='right'> <h5>".$filename2."</h5> </td> <td> <button type='button' class='btn btn-info btn-sm' data-toggle='modal' data-target='#$id'> <span class='glyphicon glyphicon-search'></span> view </button> <div id='$id' class='modal fade' role='dialog'> <div class='modal-dialog modal-lg'> <div class='modal-content'> <div class='modal-header'> <button type='button' class='close' data-dismiss='modal'>×</button> <h4 class='modal-title'>$filename2</h4> </div> <div class='modal-body' style='overflow-y: auto;word-wrap:break-word;'>".file_get_contents($filename). "</div> <div class='modal-footer'> <button type='button' class='btn btn-default' data-dismiss='modal'>close</button> </div> </div> </div> </div> <a href='$filename' download class='btn btn-primary btn-sm'> <span class='glyphicon glyphicon-download-alt'></span> save </a> </td> </tr> </table> </div>";
here image of it: http://imgur.com/vmhmo1s
you can add property:
float:right;
Comments
Post a Comment