I have defined 3 different components. dummy1,dummy2 and table. dummy 1 and dummy 2 have only a single span tag as shown below and table component has a table being rendered. My requirement is that these 3 should be in a horizontal position rather than falling beneath eachother.For the 2 dummy components i used span and they are beside eachother but the table component is falling beneath.
MY app.component.html
<app-headtoolbar></app-headtoolbar>
<app-dummy1 class="comp1"></app-dummy1>
<app-dummy2 class="comp2"></app-dummy2>
<span><app-table class="blk3"></app-table></span>