is an option for grids that specifies the spacing between the content of the grid and the frame surrounding it.


GridFrameMargins
is an option for grids that specifies the spacing between the content of the grid and the frame surrounding it.
Details

- GridFrameMargins->{{l,r},{b,t}} determines the size of the left, right, bottom, and top margins, respectively. Left and right margins are specified in em units; bottom and top margins are specified in units of x-heights.
- The default setting is GridFrameMargins->{{0.4,0.4},{0.5,0.5}}.
- For a selected grid, GridFrameMargins is set as an option for GridBox, and applies only to the selection.
Tech Notes
History
Introduced in 1999 (4.0)
Text
Wolfram Research (1999), GridFrameMargins, Wolfram Language function, https://reference.wolfram.com/language/ref/GridFrameMargins.html.
CMS
Wolfram Language. 1999. "GridFrameMargins." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GridFrameMargins.html.
APA
Wolfram Language. (1999). GridFrameMargins. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GridFrameMargins.html
BibTeX
@misc{reference.wolfram_2025_gridframemargins, author="Wolfram Research", title="{GridFrameMargins}", year="1999", howpublished="\url{https://reference.wolfram.com/language/ref/GridFrameMargins.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_gridframemargins, organization={Wolfram Research}, title={GridFrameMargins}, year={1999}, url={https://reference.wolfram.com/language/ref/GridFrameMargins.html}, note=[Accessed: 08-August-2025]}