Code Comments
Programming Forum and web based access to our favorite programming groups.Hello. I want to write my own html (never using the designer). But I find VS sometimes changes my carefully constructed style= attributes on tags into invalid stuff (capitalizing, changing to html attributes like width). I've changed my doctype to xhtml transitional, so you'd think VS wouldn't rewrite head and body in CAPS--but sometimes it does. Well, you get the idea. I found a few checkboxes in Options but it's not clear that's enough to stop it. Also what is the role of this meta: <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">? Thanks.
Post Follow-up to this message"Frank Burleigh" <burleigh@indiana.edu> wrote in message news:u5zTpNlsEHA.1604@TK2MSFTNGP15.phx.gbl... > Hello. I want to write my own html (never using the designer). But I > find VS sometimes changes my carefully constructed style= attributes on > tags into invalid stuff (capitalizing, changing to html attributes like > width). I've changed my doctype to xhtml transitional, so you'd think VS > wouldn't rewrite head and body in CAPS--but sometimes it does. > > Well, you get the idea. I found a few checkboxes in Options but it's not > clear that's enough to stop it. > > Also what is the role of this meta: > <meta name="vs_targetSchema" > content="http://schemas.microsoft.com/intellisense/ie5">? > > Thanks. Hello Frank, Tools > Options > Text Editor > HTML/XML > Format Uncheck both "Apply Automatic Formatting" options. This will prevent vstudio from altering your code if you do not use the designer. If you chose to use the designer to modify a document, the formatting will be isolated to the control(s) which you have added/modified. J. Buelna - Houston, TX
Post Follow-up to this messageJ. Buelna - Houston, TX wrote: > "Frank Burleigh" <burleigh@indiana.edu> wrote in message > news:u5zTpNlsEHA.1604@TK2MSFTNGP15.phx.gbl... > > > > > > Hello Frank, > > Tools > Options > Text Editor > HTML/XML > Format > > Uncheck both "Apply Automatic Formatting" options. > > This will prevent vstudio from altering your code if you do not use the > designer. If you chose to use the designer to modify a document, the > formatting will be isolated to the control(s) which you have added/modifie d. > > > J. Buelna - Houston, TX > > Thanks very much, J.
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.