<!DOCTYPE html>
<html>
 <head>
  <style type="text/css">

   .border { border: 1px solid blue; }

  </style>
 </head>
 <body>

   <span class="border">
      <span>x</span>
   </span>
  
 </body>
</html>