--- title: Margin position: 2 seo_title: Telerik and Kendo UI Margin Utilities seo_description: Use the Telerik and Kendo UI Margin Utilities to control the margin area of an element. --- ## Margin The Telerik and Kendo UI Margin Utilities are CSS utility classes that enable you to control the margin area of an element. ### Margin for All Sides Use the `k-m-{size}` utility to set an equal margin to all four sides of an element. ### Inline Margin Use the `k-mx-{size}` utility to set a start and end margin of the writing direction. For the left-to-right writing direction, this must be a horizontal margin. ### Block Margin Use the `k-my-{size}` utility to set a start and end margin of the writing direction. For the left-to-right writing direction this must be a vertical margin. ### Margin for One Side Use the `k-m{t|r|b|l}-{size}` class to set a margin to the correspondent side of an element. The `k-mt-{size}` utility sets the top, `k-mr-{size}` the right, `k-mb-{size}` the bottom, and `k-ml-{size}` the left margin.