Solution - Messy Visual Studio Editor

P

Peter O'Reilly

I've read here and have experienced much lament about the Visual Studio
Editor rearranging text when switching to and from the design and HTML view.
I've stumbled upon a solution to remedy such problem which is to simply to
remove the MS_POSITIONING attribute from the HTML body tag.

I did such after running a page through an HTML validator (@ w3c.org) and it
did not recognize such attribute.
So far no negative side effects and plenty of piece of mind.
 
G

George

Well, it does not work.
I mean that it will still rearrange the HTML for you.
I am removing that from the day one and it still rearranges HTML.

George
My Site - Body Jewelry
I've read here and have experienced much lament about the Visual Studio
Editor rearranging text when switching to and from the design and HTML view.
I've stumbled upon a solution to remedy such problem which is to simply to
remove the MS_POSITIONING attribute from the HTML body tag.

I did such after running a page through an HTML validator (@ w3c.org) and it
did not recognize such attribute.
So far no negative side effects and plenty of piece of mind.
 
R

Richard

Solution: Dont use it. I never used the Design function since i started with the basic stuff (html only). Almost all programs that i know of have this when you click on Design Mode. Thats why I alwasy disable it and work in mind.
"George" <[email protected]> schreef in bericht Well, it does not work.
I mean that it will still rearrange the HTML for you.
I am removing that from the day one and it still rearranges HTML.

George
My Site - Body Jewelry
I've read here and have experienced much lament about the Visual Studio
Editor rearranging text when switching to and from the design and HTML view.
I've stumbled upon a solution to remedy such problem which is to simply to
remove the MS_POSITIONING attribute from the HTML body tag.

I did such after running a page through an HTML validator (@ w3c.org) and it
did not recognize such attribute.
So far no negative side effects and plenty of piece of mind.
 
P

Peter O'Reilly

Well, it does not work.
I mean that it will still rearrange the HTML for you.
I am removing that from the day one and it still rearranges HTML.

Well it works for me in VS.NET 2002 and 2003. I also have most, if not all
of the VS.NET options unchecked for the HTML editor. Perhaps that's worth a
look....
 
P

Peter O'Reilly

Solution: Dont use it. I never used the Design function since i started
with the basic stuff (html only). Almost all >programs that i know of have
this when you click on Design Mode. Thats why I alwasy disable it and work
in mind.

That's was good advice that I did follow for the most part. Sometimes
though, sh#$ happens and one accidently clicks the design view. Anyways, I
still would do so to get the VS editor to throw in all of the control
declarations in the aspx.cs file. Afterwards I would save that file, but
not the aspx file (with the resulting messed up html).

Anyway, that's water under the bridge. No need to be AS cautious any longer.
 
E

Eliyahu Goldin

Peter,

I am always using FlowLayout and have no ms_positioning on my pages, but the
problem is still there.

Eliyahu
 
P

Peter O'Reilly

I am always using FlowLayout and have no ms_positioning on my pages, but
the
problem is still there.

Eliyahu

I guess I'm lucky. I've been editing such in both versions of VS.NET for a
while now without such problem
(and duly waited a while before posting such discovery to be absolutely
sure).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top