locked
New install of VS2008-prob with HTML-CSS errors RRS feed

  • Question

  • [This is a repeat of a post that I put on the VS2005 forum.]

     

    We are just beginning to upgrade from VS2005 to VS2008...I am the guinea pig, first to install & try.

    I'm getting multiple errors on web pages previously composed and generated on VS2003. These errors do not show up on VS2003.

     

    <Sample of code>

    <asp:label id="Label4" style="Z-INDEX: 102; LEFT: 13px; POSITION: absolute; TOP: 14px" runat="server"

    Font-Size="Large" BackColor="Transparent" ForeColor="Navy" Width="380px" Height="26px">Application For Employment</asp:label>

     

    <Errors from Error List>

    Validation (CSS 1.0): 'Z-INDEX' is not a known CSS property name.

    Validation (CSS 1.0) 'LEFT' is not a known CSS property name.

    Validation (CSS 1.0) 'POSITION' is not a known CSS property name.

    Validation (CSS 1.0) 'TOP' is not a known CSS property name.

     

    These errors show up whether we have a custom CSS file specified, or a generic one from W3C, or none specified. 

     

    The only way I've been able to *not see* these errors is to un-check 'Tools | Options... | Text Editor | HTML | Validation | in CSS ', but I would prefer to correct these "errors".  They are standard CSS properties and the 'View Design' and 'View in Browser' windows both show the items using these properties correctly positioned and z-index wise.

     

    What can I do here?

     

    Tuesday, December 4, 2007 1:09 PM

All replies