The following code is intended to show left- and right-aligned text with <hr> just above and below. This works fine if the two texts fit on one line. If their combined width is greater that the screen width, the right-aligned text appears below the left-aligned one (which is what I want), but the bottom <hr> is between the two texts, and not below the bottom one. Any suggestions?
Code:
<hr style='padding:0px;margin:0px;'>
LEFT_TEXT<span style="float:right">RIGHT_TEXT</span>
<hr style='padding:0px;margin:0px;'>