<!DOCTYPE html>
<html>
<head>
<style>
body > span { border: 3px solid blue }
#start { border-right: none; }
#two { border-left: none; }
</style>
</head>
<body>
<span id="start"></span>
<div>One</div>
<span id="two">
Two
</span>
</body>
</html>