Forum Moderators: open

Message Too Old, No Replies

Visual Studio.net Validate HTML

HTML Validation Issue

         

dbdev

6:37 pm on May 14, 2003 (gmt 0)

10+ Year Member



I created HTML only pages with Visual Studio.net. My problem is that when using VS.net, a lot of different parameters are added to the HTML code such as <body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" ms_positioning="GridLayout">

When I try to validate my html (used many different validators), I get TONS of HTML errors. One of the errors found in the above body tag is ms_positioning is not a recognized HTML 4.x bla bla bla...tried many different character sets awell.

How can I use VS.net and not get SOOO many errors?
Any help would be greatly appreciated.

Mike.

korkus2000

8:06 pm on May 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you looked at the tools>options>text editor>HTML/XML form. You can set up VS.net to not auto format and adjust case. That about as good as I can find though. I have not found a way to stick to a strict DTD.