table

Anglais [?te?bl] US [?teb?l]

n Table, répertoire; table d'opération, établi, table de jeu

étagère;

troisième personne du singulier de table : tables pluriel : tables participe présent : tabling passé : tabled

layout

英[?le?a?t]  美[?le?a?t]

n. pluriel?: mises en page

propriété javascript tableLayout syntaxe

Fonction?: Utilisé pour afficher les règles d'algorithme pour les cellules, les lignes et les colonnes du tableau.

Syntaxe?: Object.style.tableLayout=automatic|fixed

propriété javascript tableLayout exemple

<html>
<head>
<script type="text/javascript">
function setFixedTableLayout()
{
document.getElementById('myTable').style.tableLayout="fixed";
}
</script>
</head>
<body>

<table id="myTable" border="1" width="100%">
<col width="20%"><col width="40%"><col width="40%">
<tr>
<td>1000000000000000000000000000</td>
<td>10000000</td>
<td>100</td>
</tr>
</table>

<input type="button" onclick="setFixedTableLayout()"
value="Set fixed table layout">

</body>
</html>

Exécuter l'instance ?

Cliquez sur le bouton ??Exécuter l'instance?? pour afficher l'instance en ligne