caption
Anglais [?k?p?n] US [?k?p??n]
n. Titre, légende, sous-titre?;
vt. ) Ajoutez un titre ; ajoutez un sous-titre à...
Troisième personne du singulier : légendes Pluriel : légendes Participe présent : sous-titrage Passé : sous-titré Participe passé : sous-titré
c?té
英[sa?d] 美[sa?d]
n. c?té; c?té; face, c?té
C?té; secondaire, adjoint
vi; : c?tés Pluriel : c?tés Participe présent : siding Passé : side Participe passé : side
propriété javascript captionSide syntaxe
Fonction?: Définissez la position du titre du tableau.
Syntaxe?: Object.style.captionSide=top|bottom|left|right
propriété javascript captionSide exemple
<html> <head> <style type="text/css"> caption { caption-side:bottom; } </style> <script type="text/javascript"> function moveCaption() { document.getElementById('myTable').style.captionSide="right" } </script> </head> <body> <table border="1" id="myTable"> <caption>This is a caption</caption> <tr> <td>100</td> <td>200</td> </tr> <tr> <td>300</td> <td>400</td> </tr> </table> <br /> <input type="button" onclick="moveCaption()" value="Move table caption"> </body> </html>
Exécuter l'instance ?
Cliquez sur le bouton ??Exécuter l'instance?? pour afficher l'instance en ligne