asp.net - How do I disable warnings from Aspx files (HTML,CSS) - Stack Overflow

All my aspx files give all kinds of annoying warnings like "The CSS Value is not defined" bec

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

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

Share Improve this question asked Dec 1, 2009 at 20:29 RyuRyu 8,76911 gold badges69 silver badges98 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 5

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

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

Finally the best thing to try is

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

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

Go to Options -> HTML -> Validation

Uncheck 'Show Errors'.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744790545a4593887.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信