--- title: margin-bottom slug: Web/CSS/margin-bottom tags: - CSS - CSS Referenz translation_of: Web/CSS/margin-bottom ---
{{ CSSRef() }}
Die margin-bottom Eigenschaft legt den unteren Außenabstand eines Elements fest. Negative Werte sind erlaubt.
0table, table-caption und inline-tablemargin-bottom: <Längenangabe> | <Prozentzahl> | auto | inherit
auto wird von einem passendem Wert ersetzt, wobei die horizontalen bzw. vertikalen Dimensionen berücksichtigt werden..content { margin-bottom: 5%; }
.sidebox { margin-bottom: 10px; }
.logo { margin-bottom: -5px; }
| Browser | ab Version | auto Wert |
|---|---|---|
| Internet Explorer | 3.0 | 6.0 (strict mode) |
| Firefox (Gecko) | 1.0 (1.0) | 1.0 (1.0) |
| Opera | 3.5 | 3.5 |
| Safari (WebKit) | 1.0 (85) | 1.0 (85) |
{{ languages( { "en": "en/CSS/margin-bottom", "ja": "ja/CSS/margin-bottom" } ) }}