<!DOCTYPE html>
<html>
  <body>
    <div style="display: inline; border: 2px solid; border-right: none"></div>
    <div>One</div>
    <div style="display: inline; border: 2px solid; border-left: none">TwoThree</div>
  </body>
</html>