Right table border : table border : Table Style HTML CSS TUTORIALS


HTML CSS TUTORIALS » Table Style » table border »

 

Right table border


 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title></title>
<style type="text/css" media="Screen">
table {
  border-collapse: collapse;
}  

#t1 * .c2 {
  border-right: 2px solid black;
}

#t1 * .c1 {
  border-right: 1px dotted black;
}

</style>
</head>
<body>
<table id="t1"

    <tr class="r1"> <td class="c1">1</td> <td class="c2">2</td> </tr> 
    
    <tr class="r2"> <td class="c1">1</td> <td class="c2">2</td> </tr> 
</table> 

</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Table Style
» table border