I'm trying to figure out the most effective way to have a block of text aligned on the left and another block of text aligned on the right within a div.
Here is an image that illustrates how I want it to appear
Initially, I considered using three separate div
s with one in the middle serving as a spacer, but it didn't produce the desired outcome. This method would require manually setting the length of the middle div, which doesn't seem like the optimal solution.
<div style="width: 500px;">
<div style="float: left;">left aligned text</div>
<div style="float: left; width: 100%" > </div>
<div style="float: left;">right aligned text </div>
</div>