In appearance, you have <a> tags placed on the right. In this case, the elements with the correct movement will always be added from right to left.
This means that the first element that moves to the right will be located on the far right edge, and the second element will float on the right, but the first element will sit on the left side. To fix this, you need to either (a) customize the CSS so that the <a> tags do not float to the right, or (b) re-order your echo statement to output "Exit" before you exit "My Classes".
source share