171 of 313 menu

The padding-bottom property

The padding-bottom property sets a bottom padding of an element. The property value is any size units.

Syntax

selector { padding-bottom: value; }

Example

Let's make the 30px bottom padding:

<div id="elem"> some long text </div> #elem { padding-bottom: 30px; width: 300px; border: 1px solid black; text-align: justify; }

:

See also

  • the padding-top property
    that sets a top padding
  • the padding-left property
    that sets a left padding
  • the padding-right property
    that sets a right padding
  • the padding property
    that is a shorthand for a padding
  • the margin property
    that sets a margin
English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline