Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Make VS03 leave my html alone
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.

Report this thread to moderator Post Follow-up to this message
Old Post
Frank Burleigh
10-15-04 08:56 AM


Re: Make VS03 leave my html alone
"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



Report this thread to moderator Post Follow-up to this message
Old Post
J. Buelna - Houston, TX
10-15-04 08:56 AM


Re: Make VS03 leave my html alone
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/modifie
d.
>
>
> J. Buelna - Houston, TX
>
>

Thanks very much, J.

Report this thread to moderator Post Follow-up to this message
Old Post
Frank Burleigh
10-16-04 08:56 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Visual Studio archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:58 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.