<!DOCTYPE html>
<style>
table { border-collapse: collapse; }
td { width: 40px; height: 40px; padding: 0; }
</style>
<table><tr><td style="border-left: 6px solid red; border-right: 6px solid red"></td><td style="border-right: 6px solid blue"></td></tr></table>