You need to account for the border
style attribute. That is why setting the width of each element to 50% is causing the second element to wrap. Setting the width to a smaller amount (like 49%) will fix the problem.
Also, change
#nav-right{position: relative; left: 50%;}
to
#nav-right{position: relative;}