473,394 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Auto-Format (HTML) in VS.NET

Hi. Is there any way to really disable that stupid HTML auto-formatting in
VS.NET ?

I have a page with a lot of complicated HTML (many complex tables etc) and
JScripts. If it's not formatted properly, I can get lost in a second. So I
spent probably half an hour to format my HTML to suit my tastes. I took care
to un-check both check-boxes under "Apply Automatic Formatting" -
Options/HTML-XML/Format ("When saving document" and "When switching from
design to HTML/XML view").

Still, after all my work, VS.NET re-formatted my code (i.e. made a
*COMPLETE* mess out of my carefully arranged tags).

Is there a way to completely kill this great "feature" ?

Thank you, Alex.
Nov 19 '05 #1
4 3745
Hi Alex,

Change the Page Layout of your document to FlowLayout (Default Grid Layout)

... Select Document from properties box. >> Go to Page Layout Property and
select Flow Layout.

Cheers,

Jerome. M
"Alex Nitulescu" wrote:
Hi. Is there any way to really disable that stupid HTML auto-formatting in
VS.NET ?

I have a page with a lot of complicated HTML (many complex tables etc) and
JScripts. If it's not formatted properly, I can get lost in a second. So I
spent probably half an hour to format my HTML to suit my tastes. I took care
to un-check both check-boxes under "Apply Automatic Formatting" -
Options/HTML-XML/Format ("When saving document" and "When switching from
design to HTML/XML view").

Still, after all my work, VS.NET re-formatted my code (i.e. made a
*COMPLETE* mess out of my carefully arranged tags).

Is there a way to completely kill this great "feature" ?

Thank you, Alex.

Nov 19 '05 #2
It *IS* FlowLayout already ! :-(((((((

"DotNetJerome" <reachjerome@_yahoo.com-remove-the-underscore-after@> wrote
in message news:1A**********************************@microsof t.com...
Hi Alex,

Change the Page Layout of your document to FlowLayout (Default Grid
Layout)

.. Select Document from properties box. >> Go to Page Layout Property and
select Flow Layout.

Cheers,

Jerome. M
"Alex Nitulescu" wrote:
Hi. Is there any way to really disable that stupid HTML auto-formatting
in
VS.NET ?

I have a page with a lot of complicated HTML (many complex tables etc)
and
JScripts. If it's not formatted properly, I can get lost in a second. So
I
spent probably half an hour to format my HTML to suit my tastes. I took
care
to un-check both check-boxes under "Apply Automatic Formatting" -
Options/HTML-XML/Format ("When saving document" and "When switching from
design to HTML/XML view").

Still, after all my work, VS.NET re-formatted my code (i.e. made a
*COMPLETE* mess out of my carefully arranged tags).

Is there a way to completely kill this great "feature" ?

Thank you, Alex.

Nov 19 '05 #3
I'm sorry buddy. Microsoft's answer to this is VS 2005. I would use either
dreamweaver or notepad to do your web layout. And just use VS.NET to do
your coding.

"Alex Nitulescu" <RE***********************@yahoo.com> wrote in message
news:u8*************@TK2MSFTNGP10.phx.gbl...
Hi. Is there any way to really disable that stupid HTML auto-formatting in
VS.NET ?

I have a page with a lot of complicated HTML (many complex tables etc) and
JScripts. If it's not formatted properly, I can get lost in a second. So I
spent probably half an hour to format my HTML to suit my tastes. I took
care to un-check both check-boxes under "Apply Automatic Formatting" -
Options/HTML-XML/Format ("When saving document" and "When switching from
design to HTML/XML view").

Still, after all my work, VS.NET re-formatted my code (i.e. made a
*COMPLETE* mess out of my carefully arranged tags).

Is there a way to completely kill this great "feature" ?

Thank you, Alex.

Nov 19 '05 #4
I was having the same problem and contacted MS. The solution that they
offerred was:

Insure that the <FORM> tag immediately follows the <BODY> tag.
Likewise the </FORM> tag must immediately precede the </BODY> tag.
If there are errors in the HTML (like a missing closing tag, a malformed
id, etc.)
the html will be reformatted to something you don't want.

I followed the suggestions and reformatting stopped.

I have been informed that this is a bug and that MS is looking into it. I
was also informed that .NET 2005 (Whidby) will fix the problem so it appears
that no fix will be made to .NET 2003.

HTH

Gus

"Alex Nitulescu" wrote:
Hi. Is there any way to really disable that stupid HTML auto-formatting in
VS.NET ?

I have a page with a lot of complicated HTML (many complex tables etc) and
JScripts. If it's not formatted properly, I can get lost in a second. So I
spent probably half an hour to format my HTML to suit my tastes. I took care
to un-check both check-boxes under "Apply Automatic Formatting" -
Options/HTML-XML/Format ("When saving document" and "When switching from
design to HTML/XML view").

Still, after all my work, VS.NET re-formatted my code (i.e. made a
*COMPLETE* mess out of my carefully arranged tags).

Is there a way to completely kill this great "feature" ?

Thank you, Alex.

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Manlio Perillo | last post by:
Hi. This post follows "does python have useless destructors". I'm not an expert, so I hope what I will write is meaningfull and clear. Actually in Python there is no possibility to write code...
9
by: Alan Mackenzie | last post by:
To all those who use (X)Emacs's CC Mode to edit C, C++, Java, Objective-C, Pike, AWK or IDL: To help direct the development of CC Mode, it would be useful to find out how people use the...
20
by: Vijay Kumar R. Zanvar | last post by:
Hello, Unlike register, auto keyword can not be used to declare formal parameter(s). Is there any specific reason for this? Kind regards, Vijay Kumar R. Zanvar
2
by: VB Programmer | last post by:
I created a page which I am using to prevent the user from hitting the BACK button. I'll call it my "Auto Jump" page. When it is called it basically auto-redirects to a page specified in the...
5
by: Samuel | last post by:
Hi, I am running into a problem of mixing UICulture = auto and allowing users to select culture using a dropdown list. I am detecting a querystring, "setlang", and when found, setting the...
5
by: maya | last post by:
at work they decided to center divs thus: body {text-align:center} #content {width: 612px; text-align:left; margin: 0 auto 0 auto; } this works fine in IE & FF, EXCEPT in FF it doesn't work if...
13
by: S.Dickson | last post by:
I had an access database that i use as an ordering system. I have a form for entering customer details. When i add a new customer on the form the customer number is an auto number that appears when...
22
by: nospam_news | last post by:
I currently get asked about my usage of "auto". What is it for? The keyword is clearly superflous here. In contrast to the huge majority of C/C++ developers I write definitions very explicitly...
2
by: Piotr K | last post by:
Hi, I've encountered a strange problem with Firefox which I don't have any idea how to resolve. To the point: I've <divelement with a style "height: auto" and I want to retrieve this value...
21
by: JOYCE | last post by:
Look the subject,that's my problem! I hope someone can help me, thanks
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.