Every time I float two elements to the right, they end up getting swapped. This issue doesn't seem to happen with left floated elements and occurs consistently across all browsers.
For example:
CODE:
<style type="text/css">
.right {
float: right;
}
</style>
<div class="right">DIV ONE</div>
<div class="right">DIV TWO</div>
RENDERED:
DIV TWO DIV ONE
While it may not be a critical issue, it can lead to confusion when collaborating on code with coworkers. Is there a solution to prevent this unintended swapping from occurring?