Tr border on the right side with 100% height - HTML CSS CSS Property

HTML CSS examples for CSS Property:border-right

Description

Tr border on the right side with 100% height

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">

.one_tutorial{<!--from  w w  w .ja  va2s  .  co m-->
   display: block;
   border-collapse: collapse;
   border: 4px solid rgb(25, 25, 25);
}
.one_tutorial_title{
   display: inline-block;
   padding: 10px 20px;
   width: 300px;
   border-right: 4px solid rgb(25, 25, 25);
}
.one_tutorial_info{
   display: inline-block;
   padding: 0px 20px;
   width: 200px;
}


      </style> 
 </head> 
 <body> 
  <table> 
   <tbody> 
    <tr class="one_tutorial"> 
     <td class="one_tutorial_title">this is a test this is a test</td> 
     <td class="one_tutorial_info">this is a test am 19.05.2019 um 14:07 Uhr</td> 
    </tr> 
   </tbody> 
  </table>  
 </body>
</html>

Related Tutorials