How do I disable warnings from Aspx files (HTML,CSS)


Tags: asp.net,javascript,html,css,visual-studio-2008

Problem :

All my aspx files give all kinds of annoying warnings like "The CSS Value is not defined" because I'm referencing CSS files from other projects relative to where they will be published in IIS. And other things I ignore like "Zoom is not a valid css property" even though I need it to fix crappy IE 6 rendering bugs.

I tried adding WarningLevel="0" to the <%@ Page tag but I'm still getting warnings. I still want to receive warnings from my code behind file I just don't care for the HTML, CSS and Javascript warnings.

Anybody know how to do this. I would also be interested in disabling specific warnings.

Thanks



Solution :

Check this: http://msdn.microsoft.com/en-us/library/edzzzth4.aspx

Also try this: http://msdn.microsoft.com/en-us/library/edzzzth4.aspx

Finally the best thing to try is

http://neilkilbride.blogspot.com/2007/10/visual-studio-error-list-html-errors.html

Tools > Options > Text Editor > HTML > Validation > Show errors


    CSS Howto..

    Tag image in svg invisible in FireFox because of using style. How to fix?

    How to design the vertical scroll bar or customize the vertical scroll bar design?

    How do I tell what are the ids and classes of a rail html.erb component?

    How to create that background on my page with css [duplicate]

    Interface problem the right css style is not being called. How to call the right one?

    How to display separate paragraphs in the same area using CSS HTML

    Anyone know how Atlassian sizes the height of the splitter div in Confluence?

    How do I style JUST the reflection of the content without affecting its original source?

    How do browsers parse/render CSS?

    How to enable links if a parent element uses a fullscreen pseudo-element?

    how to change a css of an input if the value of it is not empty in angularJS

    How to detect if my search bar has been expanded?

    How is Facebook's website front-end and it's right sidebar designed?

    how to position icon just after h2 tag using :after pseudo even though 100% width

    how to make a DIV responsive css html

    How can I make sure that the footer will always be on the bottom of the last page when printing out?

    How to make my CSS transition smoother/work on different browsers?

    How do I make my lightbox not scroll?

    How to create table with resizable row and columns like HTML, CSS, JS boxes on JSFiddle?

    how to use namespaces in css?

    How to use CSS to change icon color

    How to get the Tololtip Tail for Menu

    How are CSS frameworks used?

    How can I make a CSS Wrapper adjust height automatically?

    How can i use ng-class variable from controller?

    How to use JQuery to identify CSS 'text-decoration' [closed]

    How to align 2 divs inside one div container with CSS (see image)

    How can I position a child element behind its parent in IE7 and earlier

    How to develop a solid CSS strategy?

    How to write css for specific div selection like before after