I want to create a grid and use it in IE 11 but when I try to put values in for the column in the CSS file VS intellisense say's it's not a valid CSS3 value. Why is a px not a valid value and why does VS not recognize the -ms-grid-columns instead VS recognizes
this -ms-grid-column. The code is:
According to your description, about why VS recognize PX is a invalid value of the -ms-grid-column, I checked this document, the value should is a integer type value.
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
None
0 Points
45 Posts
VS won't take value for -ms-grid-column
Jul 22, 2017 02:43 PM|Endeavor|LINK
I want to create a grid and use it in IE 11 but when I try to put values in for the column in the CSS file VS intellisense say's it's not a valid CSS3 value. Why is a px not a valid value and why does VS not recognize the -ms-grid-columns instead VS recognizes this -ms-grid-column. The code is:
.grid {
display: -ms-grid;
-ms-grid-column: 100px 100px 100px;
}
Contributor
6730 Points
2715 Posts
Re: VS won't take value for -ms-grid-column
Jul 24, 2017 03:30 AM|Eric Du|LINK
Hi Endeavor,
According to your description, about why VS recognize PX is a invalid value of the -ms-grid-column, I checked this document, the value should is a integer type value.
-ms-grid-column property:
https://msdn.microsoft.com/en-us/library/hh772242(v=vs.85).aspx
Also I found a document of the -ms-grid-columns, please check:
-ms-grid-columns property:
https://msdn.microsoft.com/en-us/library/hh772246(v=vs.85).aspx
Best Regards,
Eric Du
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.