Propriété CellSpacingd'ASP.NET


Table 控件Contrôle Table

Définition et utilisation

La propriété CellSpacing permet d'obtenir ou de définir l'espacement entre les cellules d'un tableau (en pixels).

Remarque :Cette propriété n'est pas valide dans FireFox.

Syntaxe

<asp:Table CellSpacing="px" runat="server">
Un contenu
</asp:Table>
 
Propriété Description
px Spécifie l'espacement entre les cellules (en pixels).


Exemple

L'exemple suivant définit la propriété CellSpacing du contrôle Table :

<form runat="server">
<asp:Table id="tab1" runat="server"
CellSpacing="20">
<asp:TableRow>
<asp:TableCell>
Bonjour !
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</form>

Exemple de démonstration »

Table 控件Contrôle Table Autres extensions