The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Gets or sets a value that specifies the vertical alignment of the object within the grid row.
This property is read/write.
![]() ![]() |
Syntax
-ms-grid-row-align: start | end | center | stretch
Property values
One of the following vertical alignments:
start-
The object is placed at the top of the row.
end-
The object is placed at the bottom of the row.
center-
The object is centered within the row.
stretch-
Initial value. The object is stretched to completely fill the height that is available in the row.
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
- acronym
- b
- bdo
- big
- br
- cite
- code
- dfn
- em
- i
- img
- input
- kbd
- label
- q
- samp
- select
- small
- span
- strong
- sub
- sup
- textArea
- tt
- var
- address
- blockQuote
- div
- dl
- fieldSet
- form
- noFrames
- noScript
- ol
- p
- pre
- table
- ul
- dd
- dt
- li
- tBody
- td
- tFoot
- th
- tHead
- tr
- button
- del
- ins
- map
- object
- script
- -ms-grid-rows
Send comments about this topic to Microsoft
Build date: 11/29/2012

