CSS 2.1 errors: not a known property name

前端 未结 5 1631
逝去的感伤
逝去的感伤 2021-02-04 10:39

Here is my code, I got it from an AJAX sample:

body, div, p, h1, h2, h3, h4, ul, li, table
{
    margin:0;
    padding:0;
    border:none;
}

body
{
    backgrou         


        
5条回答
  •  萌比男神i
    2021-02-04 11:03

    I realize that this response is a little late, but someone else may find this information useful.

    To make the filter tag warning go away in VS2010 (as opposed to just ignoring it), close VS2010 and edit the following file: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages\1033\schemas\CSS\css30.xml

    You need to change the filter property from enum to composite.

    Around line 387, you should find the following text:

    Change it to:

    Then restart VS2010.

提交回复
热议问题