Are there any ASP.NET / Razor-friendly HTML and CSS Validators? -


i use w3.org validators html , css (and jsfiddle jquery), find in case of html , css, have modify markup , style rules removing razor code (the "@" stuff) such as:

.ui-widget-header .ui-icon { background-image: url('/@configurationmanager.appsettings["thisapp"]/content/images/ui-icons_228ef1_256x240.png'); } 

(yes, name of image)

...and:

@html.labelfor(m => m.begintime) 

also, since asp.net can have "pieces parts" of html distributed (some in layout file, in current file, etc.) html validator @ http://validator.w3.org/ thinks html missing things head section, etc.

of course, 1 gather html - guess running page , selecting "view source" generated html - when page not running, , that's why you're trying validate track down problem, that's not option.

so: there validator css and, more importantly, html, "understands" asp.net / razor?

then images why don't use:

'../content/images/ui-icons_228ef1_256x240.png' 

that more it!
don't think there option send raw code validators!
have tried using ie developer tools? press f12 , come up. there can validator asp.net razor. use myself.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -