is an option for Cell that specifies the absolute margins in printer’s points to leave inside a frame that is drawn around a cell.


CellFrameMargins
is an option for Cell that specifies the absolute margins in printer’s points to leave inside a frame that is drawn around a cell.
Details

- Possible settings are:
-
dist the same margins on all sides {{left,right},{bottom,top}} different margins on different sides - CellFrameMargins defines the margins for the box used to draw the background color of a top-level cell. The margins will be used to define the extent of the background color even if there is no cell frame.
- If Background->None is set or the background matches the ambient background, then the margins are only applied if a CellFrame is present. If the cell frame is not drawn on all sides, then the margin will only be applied to the sides with a frame setting.
- inline and attached cells with a background color and no CellFrame do not apply CellFrameMargins.
Examples
open all close allBasic Examples (2)
See Also
Tech Notes
Related Guides
History
Introduced in 1996 (3.0)
Text
Wolfram Research (1996), CellFrameMargins, Wolfram Language function, https://reference.wolfram.com/language/ref/CellFrameMargins.html.
CMS
Wolfram Language. 1996. "CellFrameMargins." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CellFrameMargins.html.
APA
Wolfram Language. (1996). CellFrameMargins. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CellFrameMargins.html
BibTeX
@misc{reference.wolfram_2025_cellframemargins, author="Wolfram Research", title="{CellFrameMargins}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/CellFrameMargins.html}", note=[Accessed: 11-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_cellframemargins, organization={Wolfram Research}, title={CellFrameMargins}, year={1996}, url={https://reference.wolfram.com/language/ref/CellFrameMargins.html}, note=[Accessed: 11-August-2025]}