css - HTML border only outside the table -


how can put border around of external table? don't need in every <tr> around. tried use css in joomla article not easy. help.

<table style="background-color: #ffffff; filter: alpha(opacity=40); opacity: 0.95;"> <tbody> <tr> <td>aasda</td> <td>asfasf<a title="ep. 1 sono reika" > </a></td> <td width="60%">asfasfasfasf</td> <td>blabla</td> </tr> <tr> <td> saf</td> <td><a title="ep. 2 la grazia"> </a>asf</td> <td width="&quot;70%"> asf</td> <td rowspan="9" width="30%"> <p>blabla</p> <p>blalbalbalalb</p> </td> </tr> <tr> <td> asf</td> <td><a title="ep. 2 la grazia" > </a>asf</td> <td> asf</td> </tr> <tr> <td> asf</td> <td><a title="ep. 2 la grazia" > </a>asf</td> <td width="&quot;70%"> asf</td> </tr> </tbody> </table> <p> </p> 

you need add property border:1px solid red table

<table style="background-color: #ffffff; filter: alpha(opacity=40); opacity: 0.95;border:1px red solid;">  <tbody>  <tr>  <td>aasda</td>  <td>asfasf<a title="ep. 1 sono reika" > </a></td>  <td width="60%">asfasfasfasf</td>  <td>blabla</td>  </tr>  <tr>  <td> saf</td>  <td><a title="ep. 2 la grazia"> </a>asf</td>  <td width="&quot;70%"> asf</td>  <td rowspan="9" width="30%">  <p>blabla</p>  <p>blalbalbalalb</p>  </td>  </tr>  <tr>  <td> asf</td>  <td><a title="ep. 2 la grazia" > </a>asf</td>  <td> asf</td>  </tr>  <tr>  <td> asf</td>  <td><a title="ep. 2 la grazia" > </a>asf</td>  <td width="&quot;70%"> asf</td>  </tr>  </tbody>  </table>  <p> </p>


Comments