Home > Archive > Visual Studio > October 2004 > Make VS03 leave my html alone
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Make VS03 leave my html alone
|
|
| Frank Burleigh 2004-10-15, 3:56 am |
| 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.
| |
| J. Buelna - Houston, TX 2004-10-15, 3:56 am |
|
"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
| |
| Frank Burleigh 2004-10-16, 3:56 pm |
| J. 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/modified.
>
>
> J. Buelna - Houston, TX
>
>
Thanks very much, J.
|
|
|
|
|