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