Ombrer un tableau
Voici | un |
tableau | avec |
un | ombrage |
Il suffit de donner une classe (ombrage) au tableau à laquelle on attribue une règle de style (dans l'entête):
<style type="text/css">
.ombrage {
border-top-style:outset;
border-left-style:outset;
border-right-style:aucune;
border-bottom-style:aucune;
border-top-color:#cccccc;
border-right-color:#cccccc;
border-bottom-color:#cccccc;
border-left-color:#cccccc;
border-top-width:1px;
border-left-width:1px;
border-right-width:5px;
border-bottom-width:5px;
}
</style>
Puis dans le corps du texte on insére le tableau avec l'attribut class:
<table border="1" cellspacing="0" cellpadding="0" class="ombrage" width="300" bordercolor="#000000">