padding

Anglais [?p?d??] US [?p?d??]

n Padding; verbe; non-sens

v.

bottom

English [?b?t?m] US [?bɑ:t?m]

n. Bottom end; hip; adj. Bottom of

vt. vi. Atteindre le fond?; établir une fondation

Troisième personne du singulier?: bottoms Pluriel?: bottoms Participe présent?: bottoming Passé?: bottomed Participe passé?: bottomed

propriété javascript paddingBottom syntaxe

Fonction?: Définissez le remplissage inférieur de l'élément. Définit l'espace entre la bordure de l'élément et son contenu.

Syntaxe?: Object.style.paddingBottom=length|%

propriété javascript paddingBottom exemple

<html>
<head>
<style type="text/css">
p
{ 
border: thin dotted #FF0000;
}
</style>
<script type="text/javascript">
function changePadding()
{
document.getElementById("p1").style.paddingBottom="2cm";
}
</script>
</head>
<body>

<input type="button" onclick="changePadding()"
value="Change bottom padding" />

<p id="p1">This is a paragraph</p>

</body>
</html>

Exécuter l'instance ?

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