automatic HTML/XML code formatting in VS2003

Joined
Jun 25, 2005
Messages
73
Reaction score
0
Hello, All!

I have some trouble with subject.
Maybe it is not trouble at all, but i need a good advise.
I have just tried to write simple ASPX page in HTML view.
Everything was good.
Auto-farmatting feature been worked well.
It was make right indents, quotes and ect.
Just like below:

<body>
<form id="MyForm" runat="server">
<table border="0">
<tr>
<td>
Text
</td>
</tr>
</table>
</form>
</body>

Then, in some time i opened my code and i've been
very suprised when i was looked at my code.
Code was formatted automatically in
something like that:

<body>
<form id="MyForm" runat="server">
<table border="0"><tr>
<td>
Text</td>
</tr></table></form>
</body>

What is it???
Where my nice indents?
And such things happes everytime i'm changing
HTML and visual view.
All my walkings thought the editor settings
not give me success.
Please help.
How can i fix it.
 
Last edited by a moderator:
Hey Vlad,
Are you using GridLayOut or FlowLayOut?
No matter what you'r using, the current version of .NET is VERY dangerouse
to html writers -
..Net edit, delete, change, add html code without asking you the second you
enter the DESING window.

-- Joey
 
Last edited by a moderator:
Back
Top