Thursday, 21 June 2012

css for multiple table border in a page


<style type="text/css">

    .mytable {width:100%; background-color:white;}

    .mytable-t { border-color: #39c; border-width:  0px 0px 0.5px 0.5px; border-style: solid; }
.mytable-t tr {border-color: #39c; border-width: 1px 1px 0 0; border-style: solid;   }
    .mytable-t td { border-color: #39c;border-width: 1px 1px 0 0;border-style: solid;  }


    .mytable-t1 { border-color: red; border-width:  0px 0px 0.5px 0.5px; border-style: solid; }
.mytable-t1 tr {border-color: red; border-width: 1px 1px 0 0; border-style: solid;}
    .mytable-t1 td {border-color: red; border-width: 1px 1px 0 0; border-style: solid;}



    .mytable-t2 { border-color: black; border-width:  0px 0px 0.5px 0.5px; border-style: solid; }
.mytable-t2 tr {border-color: black; border-width: 1px 1px 0 0; border-style: solid;}
    .mytable-t2 td {border-color: black; border-width: 1px 1px 0 0; border-style: solid;}


</style>

No comments:

Post a Comment

How to highlight selected text in notepad++

  –> To highlight a block of code in Notepad++, please do the following steps step-1  :- Select the required text. step-2  :- Right click...