Changing Intellisense CSS version level validation in aspx source mode

Last post 03-30-2008 1:36 PM by Mikhail Arkhipov (MSFT). 3 replies.

Sort Posts:

  • Changing Intellisense CSS version level validation in aspx source mode

    03-29-2008, 9:51 AM
    • Member
      95 point Member
    • Bill_H
    • Member since 11-19-2002, 12:58 PM
    • Posts 141

    Hi:

    We are using Visual Studio 2008 Pro. The solution is a WAP with several subprojects and uses Themes.

    How do you change the Intellisense validation level for css in aspx source files? We are getting some errors saying that certain terms are not valid in CSS 2.0. They are valid in CSS 2.1. How do we tell Intellisense to validate in 2.1 instead of 2.0? When we load the CSS file in the editor, we set it to 2.1 but that does not seem to help.

     TIA,

    Bill

  • Re: Changing Intellisense CSS version level validation in aspx source mode

    03-29-2008, 9:37 PM
    Answer

    CSS schema is bound to HTML schema. Pick XHTML 1.1 which also activates CSS 2.1

    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Changing Intellisense CSS version level validation in aspx source mode

    03-30-2008, 4:17 AM
    • Member
      95 point Member
    • Bill_H
    • Member since 11-19-2002, 12:58 PM
    • Posts 141
    Thanks Mikhail. I was hoping it wasn't bound strictly to the schema.
  • Re: Changing Intellisense CSS version level validation in aspx source mode

    03-30-2008, 1:36 PM
    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
Page 1 of 1 (4 items)