In my component, I have a button and include another component which also contains a button. How can I align these two buttons next to each other without using absolute positioning? When I try positioning them using absolute right and top values, the layout breaks when the window is resized.
<div md-dialog-content>
<div class="section-top">
<p id="title" style="float:left;">Adding document</p>
<div md-dialog-actions style="float:right;">
<button class="edm-button" md-button (click)="onNoClick()" tabindex="-1">Cancel</button>
</div>
</div>
<div>
<app-document-data></app-document-data>
</div>
</div>