Gets or sets a value that specifies the horizontal alignment of the object within the grid column.
This property is read/write.
![]() |
Syntax
-ms-grid-column-align: start | end | center | stretch
Property values
One of the following horizontal alignments:
start-
The object is left justified in a left-to-right layout or right justified in a right-to-left layout.
end-
The object is right justified in a left-to-right layout or left justified in a right-to-left layout.
center-
The object is centered within the column.
stretch-
Initial value. The object is stretched to completely fill the width that is available in the column.
CSS information
| Applies To | grid item elements |
|---|---|
| Media | visual paged |
| Inherited | no |
| Initial Value | stretch |
Standards information
- CSS Grid Layout, Section 7
See also
- CSSStyleDeclaration
- currentStyle
- style
- a
- abbr
- b
- bdo
- br
- cite
- code
- em
- i
- img
- input
- kbd
- label
- q
- samp
- select
- small
- span
- strong
- sub
- sup
- textArea
- var
- address
- blockQuote
- div
- dl
- fieldSet
- form
- ol
- p
- pre
- table
- ul
- dd
- dt
- li
- tBody
- td
- tFoot
- th
- tHead
- tr
- button
- del
- ins
- map
- object
- script
- -ms-grid-columns
Build date: 11/29/2012
