My current code looks like this:
<div id='div_selectores' class='row_titulo '>
<span class="label_selector" id="lbl_show"></span><span id="div_selector_show"></span>
<br />
<span class="label_selector" id="lbl_summarized_by"></span><span id="div_selector_summarized"></span>
<br />
<span class="label_selector" id="lbl_column_headers"></span><span id="div_selector_headers"></span>
</div>
In the above code, I am displaying labels with their selectors using span
tags as shown below:
https://i.sstatic.net/76giB.png
I want to align all the selectors on the same line after the last text of the longest label. In this case, I want them to start at the same position where the "Product Range" label ends.
Is there a way to achieve this alignment only using CSS without making changes to the HTML?